Clear Screen 
Author Message
 Clear Screen

How do I clear the screen in a C# Console Application!
Is it possible to do this with C# / .NET ?
( I'm looking for something like 'clrscr()' )


Fri, 08 Apr 2005 20:26:55 GMT  
 Clear Screen
.NET V1 has only VERY basic console support ...
You have to use PInvoke to the Win32 API:
   http://msdn.microsoft.com/library/en-us/dllproc/base/character_mode_a...

Clear Console:
 http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319257

More complete C# Console samples
 http://www.gotdotnet.com/userarea/filedetails.aspx?FileName=ConsoleEx...
 http://www.mentalis.org/soft/class.qpx?id=2
 http://staff.develop.com/woodring/dotnet/#DirectConsole

--
 Thomas Scheidegger - MVP .NET - 'NETMaster'
 http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/

Quote:

> How do I clear the screen in a C# Console Application!



Fri, 08 Apr 2005 20:40:22 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Init Screen w/o Clear Screen

2. Clearing screen before displaying menu

3. clearing screen

4. ANSI clear screen

5. Help clearing screen

6. clear screen for Linux

7. Clear screen and cursor-position

8. Clear screen

9. Clear screen

10. clear screen for Linux

11. CLEAR SCREEN?

12. Clear Screen

 

 
Powered by phpBB® Forum Software