|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dual console / form applicationI know this topic has been touched upon before, but not to the
specifics I need now. I am tasked with the following: If the app starts in a cmd window with the appropriate swiches, act as an console application and output via console.writeline. Otherwise, operate as a standard windows form application. a. Compiling as console application is not acceptable because the command window will pop up under the form and they don't like this. b. compiling as t:/winexe is better. But I need a way to reconnect console.Out to the cmd window. I am hoping that someone can tell me easily how to do this here. Thanks in advance |
|||||||||||||||||||||||