473,320 Members | 2,027 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,320 software developers and data experts.

how to clear console screen?

mg
Thanks a lot!
martin
Dec 1 '05 #1
4 1890
Martin,

Have you tried the static Clear method on the Console class?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"mg" <ti*********@yahoo.com.ar> wrote in message
news:uf**************@TK2MSFTNGP15.phx.gbl...
Thanks a lot!
martin

Dec 1 '05 #2
Hi,

Is this a new method in 2.0 ?

AFAIK there is nothing like this in 1.1

OP: In case you are under 1.1 take a look in the archives, this has been
discussed several times before, IIRC there is no a clear way just a couple
of workarounds

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@tk2msftngp13.phx.gbl...
Martin,

Have you tried the static Clear method on the Console class?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"mg" <ti*********@yahoo.com.ar> wrote in message
news:uf**************@TK2MSFTNGP15.phx.gbl...
Thanks a lot!
martin


Dec 1 '05 #3
system("cls") doesn't work?

Dec 1 '05 #4
mg
Thank you both.

Best regards.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

Is this a new method in 2.0 ?

AFAIK there is nothing like this in 1.1

OP: In case you are under 1.1 take a look in the archives, this has been
discussed several times before, IIRC there is no a clear way just a couple
of workarounds

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
Martin,

Have you tried the static Clear method on the Console class?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"mg" <ti*********@yahoo.com.ar> wrote in message
news:uf**************@TK2MSFTNGP15.phx.gbl...
Thanks a lot!
martin



Dec 1 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: NeoPhreak | last post by:
How would you clearn the screen in a console program??? Thanks NeoPhreak >.<
19
by: Dave | last post by:
Hi, I have done some research, trying to Clear The Screen in java code. The first option was the obv: system.out.print("\n\n\n\n\n\n\n\n\n\n\n\n"); then i heard about this method:...
18
by: Tim Mierzejewski | last post by:
How do I clear the text from my screen, other than a bunch of \n's or endl's? Tim M.
20
by: ritchie | last post by:
Hi, I am trying to clear the screen in my program. I am loking for something that will work on all compilers, especially Borland & MS Visual Studio 6. On Visual studio I used 'system("cls");'...
2
by: Sam | last post by:
Sorry one of those "C" type transistion questions which I could find no answer for in existing C# text books. In C, I used to use the system function call to execute programs synchronously. ...
1
by: Ivan Sammut | last post by:
Hi, is there a way to clear the screen in a console application. Thanks Ivan Sammut
2
by: Josh | last post by:
Hi Guys, I have written a console application in C#. I wish to printout a percentage to the screen as the program is running. Does anyone know how to clear the console window? or does anyone...
11
by: sebplays | last post by:
Hi, I seach function for clear screen in VB.Net for console application. Please help me
4
by: John | last post by:
Hi I have the following in a Perl script. I just want to "clear screen" but it does not work. I don't think I've got my client and server sides confused. Any ideas? <SCRIPT...
6
by: Alexander Vasilevsky | last post by:
How to clear the screen in the console application in Microsoft Visual C #. NET 2003. http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas discount
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.