Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have to write a VB 6.0 program. This program is going to be called and passed parameters.
I am not sure where to begin. Do i create a regular VB .exe program? this is not supposed to have any user interface, it is just called behind the scenes, passed parameters to it, and it performs its purposes.

This is a database application that is supposed to run with no visual interface and no user interaction. No ones sees anything. Basically there is a call to the program, with parameters - example
testvb.exe vito,buccina,47,293,M
What i have basically done for this program is created a project, added a module, removed the form, added a Sub Main() in the module. In this Sub Main i have code that calls other procedures etc..
is this the correct way that i am doing it?
my testing is going fine.
I open a command prompt, just like i stated above, enter the .exe name with parameters, the code opens and searches a database based on those parameters.For testing purposes i have added message boxes to pop up to show me if a record was found or not. It works fine.
but the real program will not just search a database, it will select from multiple tables from one database using the parameters, and insert values into a different database.No user interface and no user interraction, just a call to run the program with trailing parameters!!
I will thus have to put the .exe of this program onto the computer that will be calling this program to run.

![]() |
Passing an Open File in C...
|
Batch Date problem
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |