Modules - Declaring Globaly



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.

.



Relevant Pages

  • Re: holloway question
    ... Otherwise, HK staff will clean the room, whether the guest ... getting to a hotel ahead of check-in time and having to wait while the room ...
    (alt.true-crime)
  • A Tom Baker anecodote...
    ... Saved money on food as I was a guest, ... food was provided from the green room. ... This lead to a strange encounter with Tom Baker (former Doctor ... Baker: 'No you are staff' ...
    (rec.arts.drwho)
  • Re: Modules - Declaring Globaly
    ... 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, ... Change Dim to Public ...
    (comp.lang.basic.visual.misc)
  • RE: LOCKING WINDOWS XP PRO -- INTERNET CAFE
    ... You may consider hiring better staff. ... on the guest computer I only want them to have access to Firefox ... > browser, Yahoo Messenger, and MSN Messenger. ...
    (microsoft.public.windowsxp.customize)
  • Re: Employment Law - problem staff
    ... Problem staff member - low quantity & quality of work, ... if someone has made a complaint of bullying I would go ...
    (uk.legal)

Loading