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?
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).