G
Guest
I've got an application that I would like to have both a GUI and a command
line interface. It is easy enough to check for command line arguments. The
proplem is that if I set my project output type to "Windows Application",
Console.Writeline doesn't write back to the console (it writes back to the
IDE when debugging). But if I et my project output type to "Console
Application", whenever I start my app from the Start Menu, I get a console in
addition to my GUI.
Is there a way to work around either of these situations?
I need to:
A) find a way to write to the console in a windows application
or
B) stop the console from appearing in a console application
thanks
line interface. It is easy enough to check for command line arguments. The
proplem is that if I set my project output type to "Windows Application",
Console.Writeline doesn't write back to the console (it writes back to the
IDE when debugging). But if I et my project output type to "Console
Application", whenever I start my app from the Start Menu, I get a console in
addition to my GUI.
Is there a way to work around either of these situations?
I need to:
A) find a way to write to the console in a windows application
or
B) stop the console from appearing in a console application
thanks