jadams0173
Technical User
- Feb 18, 2005
- 1,210
I've used a command line argument before. I have a need for one compliled exe(slave) to be launched from 2 other independent apps I've written in VB6 to do 1 of 3 different things.
I need the slave application to recognize 2 command line arguments, something like LOCAL and DISTRIBUTION. The difference is one is a local report for one user and the other is sent as an e-mail attachment from a scheduled task. The 3rd thing is if nothing is passed in (ie. someone just double clicks the exe) then NOTHING happens.
Any ideas on how to do this?
I need the slave application to recognize 2 command line arguments, something like LOCAL and DISTRIBUTION. The difference is one is a local report for one user and the other is sent as an e-mail attachment from a scheduled task. The 3rd thing is if nothing is passed in (ie. someone just double clicks the exe) then NOTHING happens.
Any ideas on how to do this?