English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The password would need to be minimum 8 characters and if entered wrong 3 times, how would I be able to lock it out.

2007-02-22 14:02:51 · 1 answers · asked by firestart20 1 in Computers & Internet Programming & Design

1 answers

One way is to create a counter variable. When the password is entered, the counter is advanced by one.

Then it's just a simple conditional statement to check it like:

If COUNTER >= 3 then
textboxPassword.enabled = false **
end if

**Or disable the button you click to enter the password instead of the password text box

2007-02-26 09:21:22 · answer #1 · answered by rod 6 · 0 0

fedest.com, questions and answers