Private Sub Form_Load() lngBefore = Timer Do strAns = InputBox("What is the password?", "Password Required") Loop Until Val(strAns) = Example lngAfter = Timer MsgBox "Correct Password", vbInformation End Sub
When i run the form it asks me for a password. If i type directly ok it says: Correct Password. I press Cancel it says: Correct password. If i type anypassword it says: Password correct. How do i fix that?
Edited by MaverickSidewinder, 15 June 2005 - 10:20 AM.