To make that stars kind of thing use PasswordChar Property of the TextBox (I assume that you use TextBox in your App). Set it to * (Star)
For you second question:
Try this:
Code:
Private Sub CmdCheckPassword_Click()
Static Counter As Integer
If TxtPass <> "MYPASSWORD" then
Counter=Counter + 1
Else
'Do whatever you want to do when user enters correct password
End If
If Counter = 3 Then End
End Sub
It should do the job.
I hope this helps
Regards QWERTY
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 12-13-1999).]