473,387 Members | 1,606 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,387 software developers and data experts.

How to clear the debug window?

Is there a way to clear the debug window other than just sending a bunch of
line feeds? Tanks -- Mike

Nov 13 '05 #1
3 8131
Programmatically? I don't think there's a command for it. Guess you could
RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.

The MZ Tools utillity has a toolbar button that clears the Immediate Window.
Download from mztools.com

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Mike Turco" <mi*******@yahoo-no-spam-4-me.com> wrote in message
news:OETSd.86176$bu.19632@fed1read06...
Is there a way to clear the debug window other than just sending a bunch
of line feeds? Tanks -- Mike

Nov 13 '05 #2

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Programmatically? I don't think there's a command for it. Guess you could
RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.

The MZ Tools utillity has a toolbar button that clears the Immediate
Window. Download from mztools.com


That looks like a nice set of tools, thanks for the recommendation. I'm
going to take a good look at using them.

I never really cared much for sendkeys. A click of the mouse at the wrong
time can really screw things up -- especially at 3am. I can imagine
inadvertently clicking inside a huge module just before that Ctrl-A.
Sometimes the words Cannot Undo wake me from my sleep :-)

How big is the buffer for the debug window? I see that some of the bigger
strings I work with get cut off. Maybe printing space(xxx) to the debug
window would do it. Its probably a good idea to wrap the debug statement in
a function anyway.

Thanks,

Mike
Nov 13 '05 #3
With A97 it was possible and If I remember correctly it required 192
LF's to clear the window. The same solution will not work with the A2K
or higher VB IDE Debug window.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Mike Turco" <mi*******@yahoo-no-spam-4-me.com> wrote in message
news:lY2Td.86230$bu.1393@fed1read06...

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Programmatically? I don't think there's a command for it. Guess you could RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.

The MZ Tools utillity has a toolbar button that clears the Immediate
Window. Download from mztools.com
That looks like a nice set of tools, thanks for the recommendation.

I'm going to take a good look at using them.

I never really cared much for sendkeys. A click of the mouse at the wrong time can really screw things up -- especially at 3am. I can imagine
inadvertently clicking inside a huge module just before that Ctrl-A.
Sometimes the words Cannot Undo wake me from my sleep :-)

How big is the buffer for the debug window? I see that some of the bigger strings I work with get cut off. Maybe printing space(xxx) to the debug window would do it. Its probably a good idea to wrap the debug statement in a function anyway.

Thanks,

Mike


Nov 13 '05 #4

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

Similar topics

1
by: Robert | last post by:
Simple way of writing debug print statements in your JavaScript code. You need to have enabled popups in your browser. I liked the ability to write to the java console in Netscape 4.x. This,...
7
by: Thomas Pecha | last post by:
Sorry for all who think this is easy, I was not able to handle this Coming from VB6 where with simple debug.print strAString you could write to debug window, I am totalling failing in vb.net...
5
by: John A Grandy | last post by:
how to use System.Diagnostics.Debug.WriteLine to write directly to a window viewable during debug mode (similar to Debug.Print in VB6)
46
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
2
by: Johann Schuler | last post by:
Let's say I have a Person class with a private int age member variable. I have a get and set accessor for the Age property. When I am running the code in debug mode, I would like to have a debug...
3
by: dan655t | last post by:
Hi Guys, What I am trying to do is dump a bunch of information to my debug window in visual studio 6 using TRACE. After about ~150 lines the debug output stopps. I am doing this in a loop, so my...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
9
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)? Bob Sweeney
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.