-
Feb 10th, 2025, 06:33 PM
#1
Thread Starter
Member
I can't find an immediate window.
VB6 SP6
I want to write the following to an immediate window.
Dim JJJ As Integer
For JJJ = 1 To 10 'UBound(chartpoints(JJJ, CurSeries))
Debug.Print JJJ 'chartpoints(JJJ, CurSeries)
Next
I can run the code but I can't find the window. I tried [View] [Immediate Window] but no window appears.
-
Feb 10th, 2025, 09:17 PM
#2
Lively Member
Re: I can't find an immediate window.
Is it hiding down the bottom?
Attachment 194171
Can you post a screenshot of the IDE?
-
Feb 11th, 2025, 01:30 AM
#3
Re: I can't find an immediate window.
It is possible that the Immediate window is not set to docking and is off screen. Go to Tools/Options/Docking and activate docking for the Immediate window. When you click OK, the Immediate should be visible. Adjust the size and location and change back to no docking.
J.A. Coutts
-
Feb 11th, 2025, 01:58 AM
#4
Re: I can't find an immediate window.
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Feb 11th, 2025, 03:38 PM
#5
Re: I can't find an immediate window.
Also, you can't "Dim" variables like that in the immediate window. In the immediate window, there's no "Option Explicit" assumed, and all variables are just Variant. Basically, making the immediate window have "weak typing", similar to VBscript.
Also, basically, you just get "one line of code", although you can use the : to get multiple statements on that line.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|