| Author |
command line switches with vb executable
|
|
|
| is it possible to add command line switches to a vb executable (e.g.
myprog.exe /xx)? in other words, is it possible to add external switches to
allow a user to turn on or off certain features within the compiled program?
thanks,
steve
| |
|
|
"steve" <steve@nospam.com> wrote in message
news:ufM4lel1EHA.2824@TK2MSFTNGP09.phx.gbl...
> is it possible to add command line switches to a vb executable (e.g.
> myprog.exe /xx)? in other words, is it possible to add external switches
to
> allow a user to turn on or off certain features within the compiled
program?
>
> thanks,
> steve
>
Yes.
Look up Command$ in the online help.
-ralph
| |
| Ken Halter 2004-11-29, 8:55 pm |
| "steve" <steve@nospam.com> wrote in message
news:ufM4lel1EHA.2824@TK2MSFTNGP09.phx.gbl...
> is it possible to add command line switches to a vb executable (e.g.
> myprog.exe /xx)? in other words, is it possible to add external switches
> to
> allow a user to turn on or off certain features within the compiled
> program?
>
> thanks,
> steve
All 'switches' are available to you via the Command$ keyword. If you start
the app with:
myprog.exe /xx /yy /zz
Command$ will contain "/xx /yy /zz"
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
| |
|
| "steve" <steve@nospam.com> wrote in message
news:ufM4lel1EHA.2824@TK2MSFTNGP09.phx.gbl...
> is it possible to add command line switches to a vb executable (e.g.
> myprog.exe /xx)? in other words, is it possible to add external switches
to
> allow a user to turn on or off certain features within the compiled
program?
Look into Command$ in your help file.
Matt
|
|
|
|