473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Clearing the output window

JPS
How would you clear the output window using code (C#)? The Debug obj
does not seem to have a method to do this?

Oct 30 '07 #1
3 3361
How would you clear the output window using code (C#)? The Debug obj
does not seem to have a method to do this?
http://msdn2.microsoft.com/en-us/lib...ar(VS.80).aspx
Oct 30 '07 #2
JPS
On Oct 30, 9:07 am, "Larry Smith" <no_spam@_nospam.comwrote:
How would you clear the output window using code (C#)? The Debug obj
does not seem to have a method to do this?

http://msdn2.microsoft.com/en-us/lib...indowpane.clea...
Larry,
I appreciate the response, but this example uses the EnvDTE
namespace(which I referenced), but how you use it is beyond me. Do
you have a simple code snippet that shows how to use the EnvDTE?

Oct 30 '07 #3
I appreciate the response, but this example uses the EnvDTE
namespace(which I referenced), but how you use it is beyond me. Do
you have a simple code snippet that shows how to use the EnvDTE?
I normally do this using a Visual Studio (VS) "AddIn" where you get passed
the DTE2 object seen in my first post (at the given link). The DTE2 object
is the top-level object in the VS 2005 extensibility model which is just the
API for controlling the VS IDE. Using this object you can programatically do
just about anything you can normally do using the VS GUI itself. If you
don't want to start monkeying around with an "AddIn" however then see here
instead. The examples show you how to get hold of a DTE2 object. Also search
for macro examples if you want to experiment with that first (probably
easier to get a feel for things). Good luck.

http://msdn2.microsoft.com/en-us/lib...dw(VS.80).aspx
Oct 30 '07 #4

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

Similar topics

2
by: H.S. Art | last post by:
Hi folks, I have a sript that runs very well. I do my output to the python shell with the print command. That works well, too. print 'Error occured ' + str(i+1) No I want to have my output...
3
by: Miki Tebeka | last post by:
Hello All, I'd like to bind <CTRL+L> so that it will clear IDLE's screen (in the interactive prompt). Any pointers/suggetions? Thanks. Miki
4
by: Ishwor | last post by:
Hi i use IDLE to code Python in my machine. What i haven't been able to do is call an in-built function called clear()/cls()/clr() because it mightn't exist. so what i did is coded my own function...
1
by: raghavendra | last post by:
Hi, i am facing problem clearing screen in console application. As, in C++ we have clrscr(); Is? their any similar type of function is avaliable.. Raghavendra...
4
by: Kevin Mansel via .NET 247 | last post by:
Ok, basically this is my problem. I'm building a console app tocall a dos program. So i'm using the Shell command to call theprogram, now depending on what happens, I want to read theoutput that...
65
by: Leslie Kis-Adam | last post by:
Hi everyone! Does anyone know, if it is possible to clear the screen in ANSI C? If it is,then how? Any help would be appreciated. Laszlo Kis-Adam <dfighter_AT-NOSPAM_freemail.hu
3
by: Zytan | last post by:
The Immediate Window is filled with debugging output from previous runs. Besides manually right clicking and clearing it, is there a programmatic way of doing this? Should I create and use a...
2
by: Bob | last post by:
Does anyone know how to clear the window so it's easier to see the stuff you have listed with Debug.Write(xyz)? I need to know how to do this in code...I know how to manually do it with the...
3
by: TC | last post by:
I'm trying to debug a console application, but I can't see the console output. I've seen many references which say that console output is supposed to appear on the Output window when the...
0
by: John Sutor | last post by:
Is there a way to clear the output window with code, possibly a debug statement (not sure of which option)? *** Sent via Developersdex http://www.developersdex.com ***
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.