By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,780 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,780 IT Pros & Developers. It's quick & easy.

Command window doesnt diplay all the data...

P: 1
RE: http://www.thescripts.com/forum/thread491642.html

###email removed###
May 16th, 2006 10:35 AM
Hi, Using Console.Writeline, as
while ((strLine = stream.ReadLine()) != null)
{
sb.Append(strLine);
Console.WriteLine(strLine);
} this writes all the data to the screen at one go. Is there away to
write one line at a time. Or possibly to resze the command widow as it
doesnt diplay all the data. Even if I scroll to the top, the first
parts missing.
Regards Robert
----------------------------------------

Robert,
You can actually use this and correct the issue in C#, really easily:

//adjust console buffer hieght equal or larger than your output in console.
Console.BufferHeight = 2048;

Thank you,

John Brock
Dec 10 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.