Oliver,
Basically, you can define your entry point (most often the static method
Main) to take an array of strings as the first parameter. This will be the
command line (parsed apart by the OS).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Webgour" <ol****@gsmzoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
How does one send and catch external parameters to windows application.
if i have D:\My Documents\Visual Studio
Projects\WindowsApplication3\obj\Debug\WindowsAppl ication3.exe -u -y
how do I catch these values in my application.
Thanks in advance.Oliver.