Page 1 of 1

Command String

Posted: Fri Jun 13, 2003 12:39 pm
by cecilcheah
Hi

Is there a way to use a command string with my application?

For example, my application is called Foo.exe, i want the user to be able to write this:

Code: Select all

foo.exe?showSplash=false
and my application will receive FALSE and know it will not show the splash on start.

Is this doable?

Cecil

Posted: Fri Jun 13, 2003 12:53 pm
by Berikco
Parameter$ = ProgramParameter()

Posted: Fri Jun 13, 2003 2:21 pm
by GedB
Except you will need to separate the name from the paramaters by a space rather than a ?

Posted: Fri Jun 13, 2003 7:28 pm
by HarryO
Cecil,

I put up a snippit of code to show one possible solution, at:

viewtopic.php?t=6365

Hope this helps.

HarryO