Results 1 to 2 of 2

Thread: Password protection

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    34

    Question

    I would like to secure my program with a password.
    Can someone help me with the code that would allow the user to setup or change a password (from the menu) and then when opening the program ask for the password before allowing user to enter.
    Thanks for the help,
    newvbr

  2. #2
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    To ask for the password on startup you'll need to put it in form_load. What you should do is store a password in a file. Don't make it if no password is used that there is no file (thats just stupid). Create a password for no password eg. None. You'll also need to encrypt the password so look around on the forum, encryption has been asked MANY times!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width