Re: VB Code to validate password strength
- From: "Rick Rothstein \(MVP - VB\)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Nov 2006 20:22:48 -0500
Can anyone tell me or point me to a code which validates the password
field?
The password field should be matching this rules before it is submitted
1. Password should be a minimum of 8 characters.
2. Password should not contain characters which repeat.
3. Password should contain a special character.
4. Password should not begin with a number.
5. Password should start with a Capital alphabet.
6. Password should contain a number.
I think this function will do what you want...
I don't think I would have been so generous as to provide a complete
function. <g> It didn't sound to me like Rajesh even made an attempt at
writing this himself. I was about ready to reply back asking "what have
you tried? what are you having difficulties with?", but I guess there's
no point now. <g>
Hey, what can I say... I'm a nice guy. <g> Seriously though, I didn't think
the solution (at least the one I provided) was all that obvious for someone
not familiar with the Like operator; and if the OP was familiar with this
operator, I don't think he would have had the problem he did.
Rick
.
- Follow-Ups:
- Re: VB Code to validate password strength
- From: Ralph
- Re: VB Code to validate password strength
- References:
- VB Code to validate password strength
- From: rajeshramhit
- Re: VB Code to validate password strength
- From: Rick Rothstein \(MVP - VB\)
- Re: VB Code to validate password strength
- From: MikeD
- VB Code to validate password strength
- Prev by Date: Weird DataReport problems
- Next by Date: Re: Custom app & Winlogon.exe fighting
- Previous by thread: Re: VB Code to validate password strength
- Next by thread: Re: VB Code to validate password strength
- Index(es):
Relevant Pages
|