Password in code

R

Rene Kooijmans

Hello,

I need to protect 3 forms of 25 with a password. I don't want to use the
securitymanager as i won't use usernames. Can someone provide me with a vb
code in which i can control a password!

Many thanx in advance

René
 
B

Bas Cost Budde

Rene said:
Hello,

I need to protect 3 forms of 25 with a password. I don't want to use the
securitymanager as i won't use usernames. Can someone provide me with a vb
code in which i can control a password!

I assume that by 'control' you actually mean 'check' or 'validate'. You
can user the Open event of the form, asking for the password (maybe you
need a custom form replacing the standard InputBox) and setting the
Cancel parameter to True if the password is wrong, effectively
disallowing the form to be opened.

There is no way you can make this 'water tight', anyone with a little
coding/developing experience would easily circumvent any measure you
create yourself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top