Home All Groups Group Topic Archive Search About

Clear command window?

Author
14 Dec 2006 8:32 PM
Tim Zych
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.

Author
14 Dec 2006 8:34 PM
The Grim Reaper
Right click, select appropriate item from the menu...
_________________________
The Grimch

Show quoteHide quote
"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> 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.
>
>
>
>
>
Author
14 Dec 2006 8:56 PM
Tim Zych
I know about that one. Very time consuming and annoying. I'm looking for
something better. Like in VB6 or VBA where the Delete key does the trick.


Show quoteHide quote
"The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
> Right click, select appropriate item from the menu...
> _________________________
> The Grimch
>
> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> > 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.
> >
> >
> >
> >
> >
>
>
Author
15 Dec 2006 3:03 AM
Matt Fielder
cmd <enter>
(four keystrokes, shortest way I know)

Show quoteHide quote
"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
news:%23WpwxG8HHHA.4992@TK2MSFTNGP04.phx.gbl...
>I know about that one. Very time consuming and annoying. I'm looking for
> something better. Like in VB6 or VBA where the Delete key does the trick.
>
>
> "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
> news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
>> Right click, select appropriate item from the menu...
>> _________________________
>> The Grimch
>>
>> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
>> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
>> > 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.
>> >
>> >
>> >
>> >
>> >
>>
>>
>
>
>
Author
15 Dec 2006 2:41 PM
The Grim Reaper
Context menu key, up cursor, enter.
(that's only 3!!)
_________________________________
The Grimch

Show quoteHide quote
"Matt Fielder" <mfielderREMOVECAPS@nospam.nospam> wrote in message
news:Of7pJW$HHHA.420@TK2MSFTNGP02.phx.gbl...
> cmd <enter>
> (four keystrokes, shortest way I know)
>
> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> news:%23WpwxG8HHHA.4992@TK2MSFTNGP04.phx.gbl...
>>I know about that one. Very time consuming and annoying. I'm looking for
>> something better. Like in VB6 or VBA where the Delete key does the trick.
>>
>>
>> "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
>> news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
>>> Right click, select appropriate item from the menu...
>>> _________________________
>>> The Grimch
>>>
>>> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
>>> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
>>> > 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.
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>
>>
>>
>
>
Author
15 Dec 2006 5:43 PM
Tim Zych
Thanks...but...context menu key?

What is that?


Show quoteHide quote
"The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
news:m6qdnYWQ6JOAKR_YnZ2dnUVZ8tq3nZ2d@bt.com...
> Context menu key, up cursor, enter.
> (that's only 3!!)
> _________________________________
> The Grimch
>
> "Matt Fielder" <mfielderREMOVECAPS@nospam.nospam> wrote in message
> news:Of7pJW$HHHA.420@TK2MSFTNGP02.phx.gbl...
> > cmd <enter>
> > (four keystrokes, shortest way I know)
> >
> > "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> > news:%23WpwxG8HHHA.4992@TK2MSFTNGP04.phx.gbl...
> >>I know about that one. Very time consuming and annoying. I'm looking for
> >> something better. Like in VB6 or VBA where the Delete key does the
trick.
> >>
> >>
> >> "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
> >> news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
> >>> Right click, select appropriate item from the menu...
> >>> _________________________
> >>> The Grimch
> >>>
> >>> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> >>> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> >>> > 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.
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
Author
16 Dec 2006 12:24 AM
Stephany Young
The context menu key has a glyph on it that looks like a context menu with a
mouse pointer. On my keyboards it is directly to the left of the right Ctrl
key.


Show quoteHide quote
"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
news:%23tdtw$GIHHA.1008@TK2MSFTNGP06.phx.gbl...
> Thanks...but...context menu key?
>
> What is that?
>
>
> "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
> news:m6qdnYWQ6JOAKR_YnZ2dnUVZ8tq3nZ2d@bt.com...
>> Context menu key, up cursor, enter.
>> (that's only 3!!)
>> _________________________________
>> The Grimch
>>
>> "Matt Fielder" <mfielderREMOVECAPS@nospam.nospam> wrote in message
>> news:Of7pJW$HHHA.420@TK2MSFTNGP02.phx.gbl...
>> > cmd <enter>
>> > (four keystrokes, shortest way I know)
>> >
>> > "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
>> > news:%23WpwxG8HHHA.4992@TK2MSFTNGP04.phx.gbl...
>> >>I know about that one. Very time consuming and annoying. I'm looking
>> >>for
>> >> something better. Like in VB6 or VBA where the Delete key does the
> trick.
>> >>
>> >>
>> >> "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
>> >> news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
>> >>> Right click, select appropriate item from the menu...
>> >>> _________________________
>> >>> The Grimch
>> >>>
>> >>> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
>> >>> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
>> >>> > 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.
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>
>
Author
16 Dec 2006 12:23 AM
Stephany Young
Context menu key + l
(that's only 2!!)


Show quoteHide quote
"The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
news:m6qdnYWQ6JOAKR_YnZ2dnUVZ8tq3nZ2d@bt.com...
> Context menu key, up cursor, enter.
> (that's only 3!!)
> _________________________________
> The Grimch
>
> "Matt Fielder" <mfielderREMOVECAPS@nospam.nospam> wrote in message
> news:Of7pJW$HHHA.420@TK2MSFTNGP02.phx.gbl...
>> cmd <enter>
>> (four keystrokes, shortest way I know)
>>
>> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
>> news:%23WpwxG8HHHA.4992@TK2MSFTNGP04.phx.gbl...
>>>I know about that one. Very time consuming and annoying. I'm looking for
>>> something better. Like in VB6 or VBA where the Delete key does the
>>> trick.
>>>
>>>
>>> "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
>>> news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
>>>> Right click, select appropriate item from the menu...
>>>> _________________________
>>>> The Grimch
>>>>
>>>> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
>>>> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
>>>> > 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.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
Author
15 Dec 2006 5:42 PM
Tim Zych
Thanks...but...excuse my ignorance.

What do you mean?

cmd enter?


Show quoteHide quote
"Matt Fielder" <mfielderREMOVECAPS@nospam.nospam> wrote in message
news:Of7pJW$HHHA.420@TK2MSFTNGP02.phx.gbl...
> cmd <enter>
> (four keystrokes, shortest way I know)
>
> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> news:%23WpwxG8HHHA.4992@TK2MSFTNGP04.phx.gbl...
> >I know about that one. Very time consuming and annoying. I'm looking for
> > something better. Like in VB6 or VBA where the Delete key does the
trick.
> >
> >
> > "The Grim Reaper" <dontbot***@Idontwanttoknow.com> wrote in message
> > news:CLOdnf3Wk_P0KBzYRVnyjQA@bt.com...
> >> Right click, select appropriate item from the menu...
> >> _________________________
> >> The Grimch
> >>
> >> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> >> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> >> > 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.
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
> >
>
>
Author
15 Dec 2006 5:52 PM
Tim Zych
I found one possible way.

While the cursor is not selecting anything:
:
Ctrl + C
Ctrl + A
Ctrl + V

2 steps after the empty string is copied to the clipboard.  Otherwise 3.


Show quoteHide quote
"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> 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.
>
>
>
>
>
Author
19 Dec 2006 12:51 PM
C-Services Holland b.v.
Tim Zych wrote:
> I found one possible way.
>
> While the cursor is not selecting anything:
> :
> Ctrl + C
> Ctrl + A
> Ctrl + V
>
> 2 steps after the empty string is copied to the clipboard.  Otherwise 3.

Then why not simply do
CTRL + A
DEL

--
Rinze van Huizen
C-Services Holland b.v
Author
19 Dec 2006 4:58 PM
Mythran
> Then why not simply do
> CTRL + A
> DEL
>
> --
> Rinze van Huizen
> C-Services Holland b.v

The .Net IDE Command Window doesn't allow you to "delete" previous
commands...unfortunately.  There is another way though..

There is a command in the command list
(Tools->Options->Environment->Keyboard) named Edit.ClearAll.  If this
command is mapped to a key-combination (ctrl-k, k for me), you can use it to
clear the command window...

:)

HTH,
Mythran
Author
15 Dec 2006 8:37 PM
Mythran
Show quote Hide quote
"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> 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
Author
15 Dec 2006 9:42 PM
Tim Zych
Wow. That looks very promising.

I assigned a shortcut key to it, but when I tried it during runtime, it
didn't execute.

It seems to work only during design time.

Thanks. That's good stuff to know.


Show quoteHide quote
"Mythran" <kip_pot***@hotmail.com> wrote in message
news:egMcgjIIHHA.4216@TK2MSFTNGP06.phx.gbl...
>
>
> "Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
> news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> > 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
>
>
Author
16 Dec 2006 12:28 AM
Stephany Young
Check out the Clear method of the CommandWindow object in the Visual Studio
automation model.

F1 is your friend!!!!!!


Show quoteHide quote
"Tim Zych" <tzych@nononononEarth__LinkDotNet> wrote in message
news:emK1j57HHHA.4056@TK2MSFTNGP03.phx.gbl...
> 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.
>
>
>
>
>