Global Program Variables in VB6

5c0a1e27a040ceeada1ae9ab0ea506c1
0
Kewell7 101 Nov 20, 2005 at 09:11

Hey,

I am working on a game at the present time in Visual Basic 6. One thing that is required for this game is that i can access and modify a variable on all forms on the program.. If anyone could tell me how to do this (i imagine it would use a module), it would be much appreciated.

Thanks,
Kewell7

1 Reply

Please log in or register to post a reply.

340bf64ac6abda6e40f7e860279823cb
0
_oisyn 101 Nov 20, 2005 at 16:29

Just declare your variables globally in a module, as you suggested.