Maniac1181 Posted January 25, 2002 Share Posted January 25, 2002 Hi! I'd like to know how I can password protect a prog made with VB and be able to change the password if needs be without recompilling the program. If anyone could help me with that or direct me to a website with some info on how to do that it'd be greatly apreciated Link to comment Share on other sites More sharing options...
0 zivan56 Posted January 26, 2002 Share Posted January 26, 2002 Try looking for a MD5 hash generator or some other password encoder for vb on planetsourcecode.com and make it save the encoded password in a hidden place somewhere or places like system.ini, registry etc. Then implement the decoder into your program, and that should work. Link to comment Share on other sites More sharing options...
0 Prash Posted February 2, 2002 Share Posted February 2, 2002 Ok heres teh code make a login bt and link it to this. Private Sub Command1_Click() UserName = InputBox("Enter your first name.") If UserName = "yeruser1" Then MsgBox ("Welcome, user! ?") Dialog.show ElseIf UserName = "user2" Then MsgBox ("Welcome, User! ?") Whatever.show Else MsgBox ("Sorry, I don't recognize you.") End 'quit the program End If End Sub Link to comment Share on other sites More sharing options...
0 Prash Posted February 2, 2002 Share Posted February 2, 2002 btw just recompile it nad thats it. Link to comment Share on other sites More sharing options...
Question
Maniac1181
Hi!
I'd like to know how I can password protect a prog made with VB and be able to change the password if needs be without recompilling the program.
If anyone could help me with that or direct me to a website with some info on how to do that it'd be greatly apreciated
Link to comment
Share on other sites
3 answers to this question
Recommended Posts