Home > Visual Basic Programming
Visual Basic Programming
Visual Basic Programming forum discussing coding strategies, development and techniques. Go from prototype to product quickly using this robust platform.
Domain Script
This is going to sound like a dumb question or an extremely simple one
I'm trying to use script to determine what domain a remote machine is a member of.
Something like
If <remote machine IP here> = <domain1> then
joi...
answer(1) view(428) status(

)
Using Combo box in MS access forms
I am developing a tool using forms in MS access. When I try to use VB controls like a combo box or a list box , the properties such as addItem and RemoveItem of the control is not listed and hence it gives a compilation error.
I would li...
answer(2) view(458) status(

)
About scrollbars and pictureboxes
Hello all,
Im creating graphs within a picturebox. Its a simple 2D XY graph done with Line() and so, but sometimes it wont fit inside the boundaries of the picturebox, I was wondering, how could I implement a horizontal scrollbar to scro...
answer(1) view(297) status(

)
Dynamic labels over shape
Hello all,
I have created a set of labels dynamically during runtime, and I want to place them over a shape. The problem is that the shape is always brought to the front and the labels can't be shown, how can I tackle this problem
answer(1) view(569) status(

)
Pass variables from asp to VBScript run on server
I am trying to create a web based Windows NT/2000 User Manager. I have already have all the code for the web side and I have VBScripts that will create users, passwords etc. I will have to run these scripts on my server because obviously ...
answer(5) view(302) status(

)
answer(2) view(483) status(

)
answer(1) view(61) status(

)
Runtime error 75 over a network
Hi all,
i am using a visual basic program over a small 3 PC network. I have set up shortcuts to the main program which is on one computer and the shortcuts on the other two (slaves). when you save within the program it saves a .dat file....
answer(1) view(326) status(

)
answer(5) view(449) status(

)
answer(1) view(305) status(

)
Record Duplication
Could anyone give me a hand as to how to write the proper VBScript for a database check
before the data is inserted?
It's for my MS Access movie database. The relevant info including tables are below.
Actors Table
Table Name: tbl...
answer(3) view(530) status(

)
Number Format
Hai, I am Ramesh,
When I was developing a frontend in vb for an Excel file.
I found that, number such as 0001 is automatically truncated to 1.
Can any one help me to solve my problem (excel auto truncation of number).
Thanks,
R...
answer(1) view(180) status(

)
answer(3) view(220) status(

)
Creating dll
Hi
Im currently new in the visual basic coding side. Im looking
for the basics on buliding dll's. thanks
answer(3) view(866) status(

)
answer(1) view(411) status(

)
how to delete duplicate
hi there..
i have table in access like below
postcode city state
41100 klang s'ngor
68000 klang s'ngor
41100 klang s'ngor
57000 gombak kl
28500 p.dlm kl
68000 ...
answer(1) view(176) status(

)
Passing parameters to a dll
I am a new programmer.I am creating a dll in VB6. The dll has to update a recordset in the AS/400 table.
I have to reference my dll into another VB application.
From this application I have to pass the following:
Tablename, sqltext, rec...
answer(1) view(470) status(

)
error handler
i have created a macro in a excel workbook and need to include an error handler
the macro transfers data from worksheet "dailyorders" to worksheet named "database" but i need to include a error handler which will produ...
answer(1) view(669) status(

)
The use of LIKE clause in VB6
Hi,
i am developing a project in vb6 as front-end and ms access as back-end .
but i have a problem in the use of like clause .i want to make a dynamic search .when i use the following code :
"select * from customer where customer...
answer(1) view(132) status(

)
ASP Hyperlinking via VBScript
Can anyone help with this code?
The First Code Set gets the Movie ID from the Movie Table and hyperlinks it with the Movie Name so when you click on the Movie
Name in the list, it takes you to info.asp diplaying the movie info. It work...
answer(1) view(59) status(

)
Validation
Hi guys
I have 2 problems, one very simple, one tedious
prob 1: I have a textbox in vb, i want to place validation on it so that when i hit the submit button it will detect whether the user has entered a valid username. A valid userna...
answer(4) view(495) status(

)
runtime error
Hello,
The following run time error was reported to us from
one of our clients. We have a visual basic 6.0
application and from what I have seen regarding
this run time error in MSDN, it doesn't make sense
given the type of application ...
answer(4) view(598) status(

)
command button
Hi,
I have a form with command buttons and i want to input a number (ID from a Product), that is written on that command button, in a control in a subform. I can input the number - Me.[subform_control_name].Form.[control_name] - but i can...
answer(0) view(284) status(

)
ActiveX control & passing a SQL string from asp\VBScript
hi
I've been working on a project were by i've created a graph program in VB (an activeX control; ocx) that is dynamically populated by data from an ASP page.
At present the asp page creates a text file in which it writes a SQL string...
answer(0) view(550) status(

)
Apostrophe causing syntax error
How do i get rid of the apostrophe in the query expression, "Kuai Junyi' Jayvis')'??
selectStudInfo = "SELECT `QUERY$`.`Acad Prog`, `QUERY$`.ID, `QUERY$`.Name FROM `D:\pd2\Q181_20`.`QUERY$` `QUERY$`"
rs.Open selectStudInf...
answer(1) view(567) status(

)
list files in vb
how do you list files in vb (version 6)
i want to list all the .csv files in my current folder and in a folder i specifiy.
can someone tell,
please email on bhal.rai@safefinancials.co.uk
answer(1) view(179) status(

)
How to get data from database and write in text file
Hi,
I have these values in database.......
Field1 Field2
Temp AAA
Temp BBB
Test XXX
Test YYY
..... .....
..... .....
I want to query out the data and write in a file.......
The content of the file look like......:
Temp,AAA,BBB
Test,XXX,...
answer(0) view(875) status(

)
How to split a string ? or change a date?
Hello,
I would like to take one part of a string, a date to catch the month number and the year number separately. My aim is to get the date from a textbox on format month/yy and to put it on standard format without the day.
Somebody ...
answer(1) view(311) status(

)
sql woes......combo box doom...help!!pls
Right this is a big ask but im desprate....
The general jist of my project is that it is a computerised car hire program for my A-Level project. I have seven forms all of which are working fine except this one. It is the "HireACar&quo...
answer(1) view(470) status(

)
I Found some nice sprites but need more...
Hi
Hi, I'm new here and I hope to make some friends and maybe get some help from time to time as well as help others:-). Anyway, I just wanted to say that me and two other people are working on a game together (we still hav'nt decided on...
answer(2) view(469) status(

)