[Visual Basic] Password Protection (Con't)
Loading...
2,694
Loading...
Uploader Comments (zaxey)
see all
All Comments (9)
-
Private Sub Form_Load() Dim Password As String Password = InputBox("Please input the password to access the program!") If Password = "Password" Then MsgBox "Access granted, welcome to the program.", vbOKOnly, "Thanks for using." Else MsgBox "Access denied.", vbCritical, "Sorry!" End End If
End Sub
-
They can't access the program if you add 'End' after 'MsgBox "Access Denied", vbCritical, "Sorry!"'.
-
kanwarjyot is correct. They can still access the program.
-
pones una pass incorrecta y te funciona igual o_O
-
how can you use it on a folder
-
can you just copy the whole thing into comments i cant seem to get it right lol 0.o
Loading...
wtf they can still acess program, its useless then
kanwarjyot 3 years ago
They can only access the login screen, NOT the program. :)
zaxey 3 years ago
Disturbed - Get Psycho <-- I think you spell it like that :P
zaxey 4 years ago