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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

password protect a form

Status
Not open for further replies.

WalfdPD

MIS
Apr 22, 2005
14
US
I want to allow only certain users to access a form
What I would like to do is protect the form with a simple password setup (user and password). No publication i have shows how to do it and I can't find anthing in VB.net help to direct me.
 
Just create a simple form that allows a user to type a password into a password box. If they type in the right password show the form else don't!

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Here's an idea -

Create a table (on an SQL server if you have one) and just have a couple of fields in it (username and password).
Create a form with a couple of text boxes and use their input to validate against the data in the table.

Alternatively, use the network logon id and groups to validate access

[afro]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top