Results 1 to 5 of 5

Thread: I can't find an immediate window.

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2010
    Location
    North St Paul, Minnesota
    Posts
    58

    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.

  2. #2
    Lively Member
    Join Date
    Jul 2017
    Posts
    100

    Re: I can't find an immediate window.

    Is it hiding down the bottom?

    Attachment 194171

    Can you post a screenshot of the IDE?

  3. #3
    Frenzied Member
    Join Date
    Dec 2012
    Posts
    1,575

    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

  4. #4
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    4,968

    Re: I can't find an immediate window.

    Ctrl+g?
    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

  5. #5
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,738

    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
  •  



Click Here to Expand Forum to Full Width