Modules - Declaring Globaly
- From: "James" <webmaster@xxxxxxxxxxxxxx>
- Date: 12 May 2006 06:28:17 -0700
H all.
In a vb project im working on for college I have staff loging in and
guests, and if the user is a staff member they can do more functions,
but if they are mearly a guest they can only view, and not edit data.
So what I am trying to do, is to hold a boolean value in a module, that
can be accessed to determine if the user is a guest or a member of
staff. This should be editable and should also be retained for the
duration of the program being active.
Now I have only used modules to declare types before so i hoped you
could tell me how i can delclare this code (as seen below) as a GLOBAL
value (can be accessed by ALL forms in the project).
Dim logged_in as Bolean
Thanks, James.
.
- Follow-Ups:
- Re: Modules - Declaring Globaly
- From: Henning
- Re: Modules - Declaring Globaly
- Prev by Date: Re: Date to actual date format
- Next by Date: *creating and controlling sliders*
- Previous by thread: Date to actual date format
- Next by thread: Re: Modules - Declaring Globaly
- Index(es):
Relevant Pages
|
Loading