Ask Experts Questions for FREE Help !
Ask
    heav8nly's Avatar
    heav8nly Posts: 1, Reputation: 1
    New Member
     
    #1

    Sep 12, 2009, 09:07 PM
    Password checker that allows the user to enter a possible password in a textbox
    I need help creating a password checker, the password must be 8 to 15 chars inlength, and nust contain 1 uppercase, and one lower case and one numeric digit, and a dialog box to display a message box displaying a message wheter or not the password is acceptable.
    Perito's Avatar
    Perito Posts: 3,139, Reputation: 150
    Ultra Member
     
    #2

    Sep 16, 2009, 09:13 AM

    This is pretty trivial. Are you a student?

    You pop a textbox on a form. I would probably put this in a "validate" event called automatically when the user exits the textbox. One grabs the entered text and put it into a temporary variable. Then, use string functions to determine the length. You'll have to go through the characters one at a time to determine if there is a lower case character, an upper case character, and a numeric digit. I'd set boolean variables to "false" before checking, and if they aren't all true after checking, I'd use that to display the error message (if (not CharPresent) and (not UpperCasePresent) and (not LowerCasePresent) then... )

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Windows XP User Name and Password [ 4 Answers ]

I am trying to install Dragon Naturally Speaking on my computer. I have come to a part where the program is requiring me to insert a Windows User Name and Password I have never heard of a Windows User Name and Password and would know what it is or here to find it When I purchased my computer...

Dell computer user name and password [ 1 Answers ]

Have a dell computer I haven't used in about 4 years and can't remember user name and password. How do I reemove existing user and pw to start using computer again.

Yahoo user name and password [ 3 Answers ]

I am having a problem with my password and user name with Yahoo and cannot contact anyone. Anyone have any ideas

User name and password [ 5 Answers ]

Hi everyone, When ever I used to join this forum, I would automatically join without having to type password or user name, I do this each time now and I don't know why it is as if I am not really a member now. Can you please clarify this problem for me Thanx:confused:


View more questions Search