As title.
Printable View
As title.
What is the question?
How about this:
VB Code:
If ucase(text1.text) = "PASSWORD" then msgbox "Password Good"
Post the code you are using, and the problem you are having. We can't help you unless you have a specific problem.
Just replace "PASSWORD" with "title". You want your password validation to be case sensitive so its more secure.
You can also set the PasswordChar property to an "*" on the Textbox so it will display an asterisk instead of the actual characters being entered.VB Code:
If Text1.Text = "title" Then MsgBox "Match" Else Msgbox "No Match" 'Do something like re-prompt the user to re-enter the password End If
Sorry, I mean when you input the password, it will only show ******.
See the last part of my post #3. ;)
That would be the PasswordChar property of the textbox. You can place the * or whatever character you want to displayed there, and it will show that character for each keypress.
Thanks.
Just in case, you can use this char to simulate an XP theme password char.
•
Gald to have helped. :)
ps, dont forget to 'Resolve' your thread. ;)