How do I read in switches from the command line? : LUSENET : MW Software's Visual BASIC Descusion System : One Thread

I am working on a front end project that is command line driven (although ouput is through the GUI.

How can VB read in command line switches?

Any help here would be greatly appreciated.

-- Jason Dever (, July 22, 1999


Can't you just use "Command"? Unless I'm misreading something, you can do something like the following:

Select Case Command Case "/P" 'Do something Case "/S" 'Do something else End Select


-- Andy Miller (, September 17, 1999.

Moderation questions? read the FAQ