Discussion:
How to increase Immediate window size more than 200 lines?
(too old to reply)
Miga
2004-12-17 01:07:01 UTC
Permalink
Hi All,

Immediate window in VB6 can hold 200 lines only.
Is it possible to increase its size?

Thanks,
Miga
Randy Birch
2004-12-17 01:22:42 UTC
Permalink
No.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/


"Miga" <***@rbcmail.ru> wrote in message news:***@TK2MSFTNGP11.phx.gbl...
: Hi All,
:
: Immediate window in VB6 can hold 200 lines only.
: Is it possible to increase its size?
:
: Thanks,
: Miga
:
:
Andy
2004-12-17 13:33:57 UTC
Permalink
Print into a text file instead if you want more.
-----Original Message-----
No.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
: Hi All,
: Immediate window in VB6 can hold 200 lines only.
: Is it possible to increase its size?
: Thanks,
: Miga
.
Rick Rothstein
2004-12-17 14:36:27 UTC
Permalink
Post by Andy
Print into a text file instead if you want more.
Or add another form to your project and put a TextBox with its MultiLine
property set to True on it. Add this Resize event code to your new form

Private Sub Form_Resize()
Text1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight
End Sub

and dump all your text to it by assigning it to the TextBox's SelText
property. That way you can view the output directly in a resizable
window that can be moved out of the way and minimized. Give the form an
easily searched for name so you can easily find the code you used to
print to the TextBox when it is time to remove it.

Rick
Ralph
2004-12-18 11:44:34 UTC
Permalink
Post by Rick Rothstein
Post by Andy
Print into a text file instead if you want more.
Or add another form to your project and put a TextBox with its MultiLine
property set to True on it. Add this Resize event code to your new form
Private Sub Form_Resize()
Text1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight
End Sub
and dump all your text to it by assigning it to the TextBox's SelText
property. That way you can view the output directly in a resizable
window that can be moved out of the way and minimized. Give the form an
easily searched for name so you can easily find the code you used to
print to the TextBox when it is time to remove it.
Rick
Or instrument OutputDebugString() and capture the output using DebugView
http://www.sysinternals.com/ntw2k/freeware/debugview.shtml

-ralph

Continue reading on narkive:
Loading...