Jay,It's some time since I used it, but the C# I D E has an output window which I think takes console output.
On the other hand, have you tried running cmd.exe /k from your program to make the console window persist before writing to it?
hth Martin----- Original Message ----- From: "Macarty, Jay {PBSG}" <Jay.Macarty@xxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Monday, February 25, 2008 1:12 AM Subject: C# - Writing to the console from a winexe executable All, I have a C# program compiled as winexe. When I try to use Console.WriteLine() from that program, I get nothing which, I am assuming, is because it is compiled as a windows executable. Can someone tell me the best way to write to stdout from such a program? ------------------------------------------------------------ Jay Macarty - Masterfiles Technical Lead - PBSG Phone: 972-963-1387 Cell: 214-549-3421 __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________View the list's information and change your settings at //www.freelists.org/list/programmingblind