dosborn278
New member
- Joined
- Jul 20, 2005
- Messages
- 3
- Programming Experience
- 3-5
I'm trying to create a program that can run via the command line or in GUI. If the user runs the the program and passes a -s option it should not open up the form and instead output text to the current console window. Unforunately I can't figure out how to output to the console window. A Console.WriteLine doesn't work unless the program is setup as a console program. If I set it up as a console program and the user chooses to start it in GUI then the console window still hangs in the background.