Console.Clear()

  • Thread starter Thread starter Just Me
  • Start date Start date
In a dotNet 2.0 Windows Forms application, you need to explicitly allocate
the console before any of the Console class methods will work. Otherwise,
they throw exceptions.

If you'd like, I'll post my Console helper class, which has an option to
hide the form that calls it.

Mike.
 
OK. I conceed that accuracy is important.

Thanks 4 ur help.

PS: I wrote an add-in that does what I want programatically.
 
Im interested to see what u did,

Thanks...




Michael D. Ober said:
In a dotNet 2.0 Windows Forms application, you need to explicitly allocate
the console before any of the Console class methods will work. Otherwise,
they throw exceptions.

If you'd like, I'll post my Console helper class, which has an option to
hide the form that calls it.

Mike.
 
Back
Top