How to make variables global in VB 5.0?

Discussion in 'Computers' started by Timon Russo, Apr 8, 2003.

  1. Timon Russo

    Timon Russo Stunt Coordinator

    Joined:
    May 10, 2000
    Messages:
    213
    Likes Received:
    0
    I had a bunch of DIM statements in the DECLARATIONS part of FORM1, but the other forms in my project can't access them. Can someone tell me what I need to do?

    P.S. I tried adding a CODE MODULE and put the DIM statements in that DECLARATIONS section, but it doesn't ever seem to execute. Am I on the wrong track?
     
  2. Timon Russo

    Timon Russo Stunt Coordinator

    Joined:
    May 10, 2000
    Messages:
    213
    Likes Received:
    0
    Nevermind, I figured it out.
     

Share This Page