Hi,
You can use a regular expression for that.
http://www.regexlib.com/REDetails.aspx?regexp_id=1111
Dim regStrongPassword As New
System.Text.RegularExpressions.Regex("(?=^.{6,10}$ )(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{"":;'?/>.<,])(?!.*\s).*$")
Trace.WriteLine(regStrongPassword.IsMatch("1A2a$5" ))
Trace.WriteLine(regStrongPassword.IsMatch("apple") )
Ken
---------------------------
"jez123456" <je*******@discussions.microsoft.com> wrote in message
news:FE**********************************@microsof t.com...
Hi
I'm in the process of writing a program to ensure that a user will setup a
strong password for a particular application. One of the requirements is:-
A Strong Password must include characters from at least three of the
following four categories...
Uppercase characters (A though Z)
Lowercase characters (a though z)
Numeric digits (0 through 9)
Non-alphanumeric characters (!, $, #, %, etc.)
Does anybody know of a vb class, api or addin that can do this?
thanks