-
Login for program
i am creating a program that requires a login but dont know how to save a password and username. i would like this program to be self contained. i would like an administrator to be able to add usernames. i have very limited programming experience so complex code means little to me.
-
Re: Login for program
...more complex code ~ better code... :)
You have more options...
- save each "account" to the registry
- ... to a file/database...
- encrypt it or not...
You'll need to decide the way to go before you even start thinking about the code...
-
Re: Login for program
You can store it directly in the EXE file, which makes it work on all systems, and prevents you from having to distribute a password file with it.
I would recommend encrypting it though, otherwise it's plain as day if someone views the EXE in notepad, or a hex editor.
http://www.vbforums.com/showthread.php?t=432537
Also, I've recently found a much easier way to do it, so you may want to check back there in a day or two for when I update the code.