Re: Clear command window?





"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message news:emK1j57HHHA.4056@xxxxxxxxxxxxxxxxxxxxxxx
Is there keystroke combination that will clear the command window in Visual
Studio.Net?

Or, is there a way for me to clear it in vb.net code, prior to my code
running?

Thanks.






Edit.ClearAll is the command to use. You can bind this command to a keyboard shortcut by going to Tools->Options->Environment->Keyboard and type in the 'Show commands containing:' textbox: 'Edit.ClearAll' w/o the quotes. Select the command and in the 'Press shortcut key(s):' box, press the keyboard shortcut you wish to associate with clearing the window...click Ok, and try it out :)

Please note, this command is available in .Net 2003, and I don't have 2005 installed to test. The instructions above are also for 2003 :( Even though this is for 2003, it *should* still be available in .Net 2005...g'luck!

HTH,
Mythran


.


Loading