04-02-2012, 01:15 PM
If you are using an If statement for your password, you could do something like this.
Code:
'Global
public password as string = "pass"
'Login
if textbox1.text = password then
MsgBox("Correct!")
else
Msgbox("Incorrect!")
'Change password (Where textbox2 is your new password)
password = textbox2.text
MsgBox("Password Changed!")