473,666 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clear command window?

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.

Dec 14 '06 #1
25 3623
Right click, select appropriate item from the menu...
_______________ __________
The Grimch

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******** ******@TK2MSFTN GP03.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.



Dec 14 '06 #2
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" <do********@Ido ntwanttoknow.co mwrote in message
news:CL******** *************@b t.com...
Right click, select appropriate item from the menu...
_______________ __________
The Grimch

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******** ******@TK2MSFTN GP03.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.



Dec 14 '06 #3
cmd <enter>
(four keystrokes, shortest way I know)

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:%2******** ********@TK2MSF TNGP04.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" <do********@Ido ntwanttoknow.co mwrote in message
news:CL******** *************@b t.com...
>Right click, select appropriate item from the menu...
______________ ___________
The Grimch

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******* *******@TK2MSFT NGP03.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.






Dec 15 '06 #4
Context menu key, up cursor, enter.
(that's only 3!!)
_______________ _______________ ___
The Grimch

"Matt Fielder" <mf************ ****@nospam.nos pamwrote in message
news:Of******** *****@TK2MSFTNG P02.phx.gbl...
cmd <enter>
(four keystrokes, shortest way I know)

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:%2******** ********@TK2MSF TNGP04.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" <do********@Ido ntwanttoknow.co mwrote in message
news:CL******* **************@ bt.com...
>>Right click, select appropriate item from the menu...
_____________ ____________
The Grimch

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em****** ********@TK2MSF TNGP03.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.






Dec 15 '06 #5
Thanks...but... excuse my ignorance.

What do you mean?

cmd enter?
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in message
news:Of******** *****@TK2MSFTNG P02.phx.gbl...
cmd <enter>
(four keystrokes, shortest way I know)

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:%2******** ********@TK2MSF TNGP04.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" <do********@Ido ntwanttoknow.co mwrote in message
news:CL******** *************@b t.com...
Right click, select appropriate item from the menu...
_______________ __________
The Grimch

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******** ******@TK2MSFTN GP03.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.






Dec 15 '06 #6
Thanks...but... context menu key?

What is that?
"The Grim Reaper" <do********@Ido ntwanttoknow.co mwrote in message
news:m6******** *************** *******@bt.com. ..
Context menu key, up cursor, enter.
(that's only 3!!)
_______________ _______________ ___
The Grimch

"Matt Fielder" <mf************ ****@nospam.nos pamwrote in message
news:Of******** *****@TK2MSFTNG P02.phx.gbl...
cmd <enter>
(four keystrokes, shortest way I know)

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:%2******** ********@TK2MSF TNGP04.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" <do********@Ido ntwanttoknow.co mwrote in message
news:CL******** *************@b t.com...
Right click, select appropriate item from the menu...
______________ ___________
The Grimch

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******* *******@TK2MSFT NGP03.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.





Dec 15 '06 #7
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.
"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******** ******@TK2MSFTN GP03.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.



Dec 15 '06 #8


"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******** ******@TK2MSFTN GP03.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
Dec 15 '06 #9
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.
"Mythran" <ki********@hot mail.comwrote in message
news:eg******** ******@TK2MSFTN GP06.phx.gbl...
>

"Tim Zych" <tzych@nononono nEarth__LinkDot Netwrote in message
news:em******** ******@TK2MSFTN GP03.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


Dec 15 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
22251
by: jcollins | last post by:
Is there a command in Python to clear the screen? That is without writing multiple blank lines. Thanks. Jim C
0
2448
by: Tom Dacon | last post by:
"Open .Net Command Window Here" context menu for Windows Explorer: The reg file described below adds a new menu item to Windows Explorer's context menu when you right-click over a folder (or the drive root). The menu item text is "Open .Net Command Window Here". When you click it, it opens a command window positioned at that directory and runs the vsvars32.bat file to set the .Net Framework environment variable settings. This makes it...
3
8151
by: Mike Turco | last post by:
Is there a way to clear the debug window other than just sending a bunch of line feeds? Tanks -- Mike
14
1654
by: Alan Silver | last post by:
Hello, I have spent ages trawling through Google, looking for information about global functions in ASP.NET and I'm still not clear about the best way to go about this (or not). I am writing a site that will be for members only. They will have to log in to gain access to any of the pages. I am holding the user information in an XML file (there will probably never be a large number of user, so this is efficient enough).
2
1186
by: Art | last post by:
Hi, I use the command window a lot while debugging. It just keeps accumulating everything I type in there. Is there a way to clear it without closing visual studio? thanks, Art
1
1676
by: scottin | last post by:
I setup the dataset, which is the datasource for a datagrid. When I originally fill the dataset, the data is loaded into dataset.tables(0). (dataset.tables(0).rows.count = 8) Then, if a row gets added to the table, I want to refresh the dataset. When I do so, the data is loaded into dataset.tables(1). (dataset.tables(0).rows.count = 0, dataset.tables(1).rows.count = 8) (We can go into why the record isn't added later)
22
4215
by: mp | last post by:
i have a python program which attempts to call 'cls' but fails: sh: line 1: cls: command not found i tried creating an alias from cls to clear in .profile, .cshrc, and /etc/profile, but none of these options seem to work. my conclusion is that a python program that is executing does not use the shell (because it does not recognize shell aliases). is this correct?
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8869
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.