I'm creating a password function for the windows application i've just written but I can't remember how to get the user input to turn to stars as the user types in the password. At the moment i've set the colour of the text being typed into the text box to the background colour. But, i've got it to change to stars before and can't remember how.

My code is below.


Thanks!Private Sub cmdEnter_Click()
If txtPassword.Text = "VictoriA" Then
MsgBox ("Password Accepted!")
Load MainMenu
MainMenu.Show
Unload StartSplash
End

Do While txtPassword.Text <> "VictoriA"
Loop
End If
End Sub