*Experts* Bucky Posted November 2, 2003 *Experts* Posted November 2, 2003 I was just curious... is it possible to view the console output (calls to Console.WriteLine() and such) in a compiled Windows Forms application outside the VS.NET IDE? I know I could just write to a text file for output, but I was wondering about this method. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
*Experts* Volte Posted November 2, 2003 *Experts* Posted November 2, 2003 If you want to spawn the console app from within the other Windows app, you can use the StartInfo property of the Process class (more specifically, StartInfo.RedirectStandardOutput) to tell it to write all its input to the StandardOutput stream of the Process object. Then you can do with it what you want to get the output. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.