Console::WriteLine()

Console::WriteLine()

Post by bill » Sat, 24 Dec 2005 06:22:19


Is there a way to see the results of Console::WriteLine() in a .NET
WindowsForms application?

TIA

Bill
 
 
 

Console::WriteLine()

Post by Lloyd Dupo » Sat, 24 Dec 2005 12:07:53

You could set Console.SetOut() to a TextWriter of your making (on which will
write to a TextBox, for example).
Or you could use Trace.WriteLine() and use trace listener
Or you could look at the Output windows if debugging with VS2005 (Console
window if debugging with VS2003)

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>

 
 
 

Console::WriteLine()

Post by Lloyd Dupo » Sun, 25 Dec 2005 09:29:14

I don't have VS2003 on my system anymore, so it's hard to tell...
anyway look in:
View
View=>Other Window
Debug
Debug=>Windows