I have a C# 2008 console application where all the output is displayed in DOS popup windows instead of being written to a log file.
Thus can you tell me what I can do to have all messages in this console application appear in a log file instead of these dos pop windows? Can you show me in code how to accomplish this goal?
Loading
Hemant SrivastavaPosted Oct 18, 2012, 11:06 AM
StreamWriter Writer = new StreamWriter("Output_File_Name");
Writer.WriteLine("Your Message output");
dcPosted Oct 18, 2012, 1:09 AM
Hemant SrivastavaPosted Oct 17, 2012, 3:18 PM
dcPosted Oct 17, 2012, 2:34 PM
Is there a way to tell the difference of when these two diferent types of dos windows show up?
Hemant SrivastavaPosted Oct 17, 2012, 2:21 PM