How to clear console screen?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

There is a posted how to on the microsoft kb that examples
how to do this by creating a class that blanks all the
characters displayed one by one, then you call that class.
I am searching for a system call or something that I can
directly used in my console application rather than
including the class from the kb article. In a batch file,
the command exist, you just use the CLS command. Something
similar to this is what I am hunting for but haven't found
so far. Any help?

tia
gm
 
There is a posted how to on the microsoft kb that examples
how to do this by creating a class that blanks all the
characters displayed one by one, then you call that class.
I am searching for a system call or something that I can
directly used in my console application rather than
including the class from the kb article. In a batch file,
the command exist, you just use the CLS command. Something
similar to this is what I am hunting for but haven't found
so far. Any help?

http://groups.google.de/[email protected]

Cheers

Arne Janning
 
Thanks for the reply, but that's the code I was referring to in my OP that
I
was wanting to aviod!

There is no other possibility in .NET 1.1.

..NET 2.0 will have a Console.Clear() Method.

Cheers

Arne Janning
 
Arne said:
There is no other possibility in .NET 1.1.

.NET 2.0 will have a Console.Clear() Method.

Cheers

Arne Janning

Thanks Arne, I'll just do it the hard way for a while then...
gm
 
Back
Top