by jacka18l (3 Submissions)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 12th February 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
login/password script
'text box 1 called text1
'text box 2 called text2
'command button called command1
'place this code in the button.
private sub command1_click()
if text1.text = "username" and text2.text = "password" then
msgbox "access granted"
form2.show
else
msgbox "access denied"
end if
end sub
'and there you are