I am trying to enter a password. When you enter the first letter of the password wrong a label tells you Incorrect Password. It also works if you enter the first letter right and the second letter wrong. But if I enter the first two letters right and the third letter wrong it doesn't work. This is the code I used:

PrgmPassword = Text1
If Text1 = "Paula" Then
SetStringValue "HKEY_LOCAL_MACHINE", "String Value", PrgmPassword
Unload Me
Form2.Show
End If
If Text1 <> "Paula" Then
Label30 = clr
Label1.Caption = "Incorrect Password - Try Again"
End If
If Text1 = "" Then
Label1.Caption = clr
Label30 = "Please Insert Password"
End If
If Text1 < "Paula" Then
Label30 = "Please Insert Password"
Label1.Caption = clr
End If

Can anyone help me on this?