SilentBob
asked on
Clearing immediate window with code (VB6)
I still haven't worked out how to do this. Anyone know?
Thanks.
Thanks.
ASKER
yeah, I've seen that trick before, but don't really like it. My cursor is generally not at the bottom of the screen, and if I'm gonna move it manually, I may as well clear the screen by hand too. Plus, the cursor ends up at the bottom of the screen instead of at the start. Thanks anyway.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dang123,
The VBcode helper app that I found at the bottom of your article was a big help. http://www.vbcodehelper.com
It lets you count the lines of code in your app, clear the immediate window, auto-set tab order of your controls etc. It's a super tool. It costs $59, but I think I might bite the bullet and buy it.
thx,
Joe
The VBcode helper app that I found at the bottom of your article was a big help. http://www.vbcodehelper.com
It lets you count the lines of code in your app, clear the immediate window, auto-set tab order of your controls etc. It's a super tool. It costs $59, but I think I might bite the bullet and buy it.
thx,
Joe
ASKER
Thanks for the help guys.
Glad I could help, thanks for the A!
Dim f As Integer
For f = 1 To 50
Debug.Print vbCrLf & vbCrLf & vbCrLf & vbCrLf & vbCrLf
Next f
This loops through and prints a 5 blank lines to the debug window 100 times, until all the contents are scrolled off the screen. It works as long as the cursor is at the bottom of the screen.