In my opinion, coding a password into the program itself is asking for trouble. If I were you, I would save the password into an external text file first. Then, when the form loads, check to see if that file exists, read the text from it and then run a check to confirm that the user given password matches that in the saved file. For added security, you could create a form that runs on first use to ask the user for a password, then save the password into a user defined location with some simple encryption.