imby
asked on
Exe that accepts parameter
I need to have a program (exe) that accepts an input parameter. It doesn't matter if it's integer, byte, or string. Based upon the input, it will perform different tasks. This exe will be called by a batch file. I don't know how I could pass parameter from the batch file to the exe.
Thanks in advance for those who will have a suggestion.
Thanks in advance for those who will have a suggestion.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Try to include the CmdLine = Command() in Form_Load Event, from there you can do the process you want.
Here is an example:
Create Shortcuts for Files and Applications with Parameters:
http://www.freevbcode.com/ShowCode.Asp?ID=909
Hope this help