Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Global Variables.

Status
Not open for further replies.

Robeen

Programmer
Mar 25, 2003
38
0
0
US
In VB 6.0 - how do I set up Global Variables?
For instance - if I need a UserID to be stored throughout the session - after a user has logged in - where can I declare the Variable so that once the User has logged in I can check who the user is at any given point in the Application & decide if he/she has permission for the current process?
I was under the impression that if I declared a variable in the General Declarations section of a module it would be global.
Thanks
Robeen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top