chlade
asked on
Populating Command Line Arguments
I have an application that can accept any number of command line arguments (using the Command() function).
Currently to test different scenarios, I have to constantly go into the Properties page and change the Command Line Arguments on the Debug tab.
I want to write a tester application that will open this form and I'd like to "populate" the command line arguments from vb.net. Is this possible?
Note that I am not using the SHELL command or anything like that. I am simply instantiating a form that uses the Command() function.
Currently to test different scenarios, I have to constantly go into the Properties page and change the Command Line Arguments on the Debug tab.
I want to write a tester application that will open this form and I'd like to "populate" the command line arguments from vb.net. Is this possible?
Note that I am not using the SHELL command or anything like that. I am simply instantiating a form that uses the Command() function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Process.Start Method ("tested-application-name.
Other way is using Windows Run command, or batch file.