Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Compiled Languages > Visual Basic   »   Password checker that allows the user to enter a possible password in a textbox

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old Sep 12, 2009, 09:07 PM
heav8nly
New Member
heav8nly is offline
 
Join Date: Sep 2009
Posts: 1
heav8nly See this member's comment history on his/her Profile page.
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.

Reply With Quote
 
     

Answers
 
 
Old Sep 16, 2009, 09:13 AM   #2  
Ultra Member
Perito is offline
 
Perito's Avatar
 
Join Date: Feb 2009
Location: USA
Posts: 2,881
Perito See this member's comment history on his/her Profile page.Perito See this member's comment history on his/her Profile page.
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 ...)
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
Windows XP User Name and Password
(4 replies)
How to look at user name and password
(0 replies)
dell computer user name and password
(1 replies)
Yahoo user name and password
(3 replies)
user name and password
(5 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 01:41 AM.