Computing.Net > Forums > Programming > How to Call a vb prgrm &pass params

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to Call a vb prgrm &pass params

Reply to Message Icon

Name: canman
Date: October 27, 2008 at 14:34:41 Pacific
OS: win20
CPU/Ram: 333
Product: 33
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: October 27, 2008 at 15:19:55 Pacific
Reply:

Google is your friend.


0

Response Number 2
Name: canman
Date: October 28, 2008 at 16:30:25 Pacific
Reply:

are you?


0

Response Number 3
Name: Razor2.3
Date: October 28, 2008 at 17:53:12 Pacific
Reply:

Me? No, but I'm more polite than a lot of programmers. Otherwise, I'd say JFGI.


0

Response Number 4
Name: canman
Date: October 30, 2008 at 07:15:40 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Passing an Open File in C... Batch Date problem



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to Call a vb prgrm &pass params

How to put a password in a folder? www.computing.net/answers/programming/how-to-put-a-password-in-a-folder/7021.html

How To Link A C++ Library www.computing.net/answers/programming/how-to-link-a-c-library/9367.html

How to convert a CAD file to .net www.computing.net/answers/programming/how-to-convert-a-cad-file-to-net/15097.html