What's new

How to make variables global in VB 5.0? (1 Viewer)

Timon Russo

Stunt Coordinator
Joined
May 10, 2000
Messages
213
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?
 

Users who are viewing this thread

Sign up for our newsletter

and receive essential news, curated deals, and much more







You will only receive emails from us. We will never sell or distribute your email address to third party companies at any time.

Forum statistics

Threads
357,052
Messages
5,129,655
Members
144,285
Latest member
acinstallation715
Recent bookmarks
0
Top