Re: Modules - Declaring Globaly
- From: "Henning" <computer_hero@xxxxxxxxxxxx>
- Date: Fri, 12 May 2006 15:59:00 +0200
"James" <webmaster@xxxxxxxxxxxxxx> skrev i meddelandet
news:1147440497.660499.193880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
H all.Change Dim to Public
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.
/Henning
.
- Follow-Ups:
- Re: Modules - Declaring Globaly
- From: Michael B . Johnson
- Re: Modules - Declaring Globaly
- References:
- Modules - Declaring Globaly
- From: James
- Modules - Declaring Globaly
- Prev by Date: *creating and controlling sliders*
- Next by Date: Re: CancelUpdate
- Previous by thread: Modules - Declaring Globaly
- Next by thread: Re: Modules - Declaring Globaly
- Index(es):
Relevant Pages
|
Loading