If you want to run it at the command line, then I recommend that you
have a switch that you send to your program which will tell it to run on the
command line. There is really no way to determine if an app runs on the
command line or not.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"mgonzales3" <mg********@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
>I have a windows app that i want to be able to run at the cmd line.
Using vs2005 can I determine the Output Type at runtime?
or can I set this value at runtime?
thanks