473,385 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Command window doesnt diplay all the data...

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
0 1302

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

Similar topics

3
by: James Spibey | last post by:
Hi, I have an MDI application which has aboout 10 child windows. The way the app needs to work is that only one window should be visible at a time and it should be maximized within the parent...
2
by: rawCoder | last post by:
Hi I am having this InvalidOperationException with message Cannot call Invoke or InvokeAsync on a control until the window handle has been created This is raised when i try to invoke a method...
1
by: Aftab Alam | last post by:
Hello All I wonder why the Dos Window appears in back ground if we make a managed c++ application how can I stop it in MSDN samples there is a sample caculator which is made in managed cpp but it...
1
by: feng | last post by:
I am using the following JavaScript to diplay a modal window: window.showModalDialog('Open/QicWebError.aspx', " & _ "'_blank', 'height=380, width=520, " & _ "location=no, menubar=no,...
4
by: Kevin Mansel via .NET 247 | last post by:
Ok, basically this is my problem. I'm building a console app tocall a dos program. So i'm using the Shell command to call theprogram, now depending on what happens, I want to read theoutput that...
0
by: maykil ceksin | last post by:
Hi, Is there anyone knows which user profile is using by IIS while running an DOS application within asp with wshell.run command. To describe my problem clear; I'm using a DOS command and...
1
by: NanaA | last post by:
I want to run .sql script file on Oracle database using c#.net. What I am doint is, ProcessStartInfo processInfo = new ProcessStartInfo("sqlplus"); processInfo.Arguments = "scott@db/tiger...
6
by: bushi | last post by:
hi everyone! i have diplayed my hyperlinks in a iframe.when i redirect to next page.the next page also open in the same frame,but i want to open a new browser window,when i click on the...
6
by: Goran07 | last post by:
Hello, all, I see there are some true experts here on the forum, so maybe someone can help me. I need to get output from DOS application that does some calculations based on the choices that user...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.