Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters for a EXE in VB5
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00055843
Message ID:
00056251
Views:
26
>Ok, I want to call a EXE created in VB with parameters.
>
>Ex: Robot.exe task1.txt
>
>In C++, I need to declare the parameters in my code to do this.
>
>How do I do this in VB. Is there a command for that?
>
>If you know! Please reply to this message.

Use the 'COMMAND' function (variable?) to get the command line arg.

IF COMMAND = 'SomeCommand' Then ...

:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform