• 0

Password protect a VB program!


Question

3 answers to this question

Recommended Posts

  • 0

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.

  • 0

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.