|
-
Mar 27th, 2007, 11:25 AM
#1
Thread Starter
New Member
Passing multiple arguments (3 actually) from vbscript to a VB6 form
I need to call a basic vb6 .exe and pass it 3 arguments in order to process it inside the executable.
What would be the easiest way to do this?
The only thing my .exe contains is the InternetSetCookie function and I would like to provide it's arguments from a logon script I created in vbscript.
Can anyone help?
-
Mar 28th, 2007, 07:53 AM
#2
Re: Passing multiple arguments (3 actually) from vbscript to a VB6 form
In VB6 there is a function Command() - it returns command line arguments.
So, if you shell your exe with some arguments you can then parse them in your executable.
Search forum for samples (there are many out there).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|