Click to See Complete Forum and Search --> : Command Line Info


September 20th, 1999, 11:33 AM
CWinApp::ParseCommandLine in VC++ allow us to get parameters from command line.
Is there anything like that in VB?
Thks!

Lothar Haensler
September 20th, 1999, 11:39 AM
Command$ variable returns the command line.
Use the split function to split that into an array of strings.

September 20th, 1999, 12:09 PM
Thanks!It works in Dos prompt! Would it work if I use CreateProcess?