Question : Password in VB.NET

i'm creating a mini application that will change a users password.

How can i validate the password?


And yes i am an Admin with full privileges.

Answer : Password in VB.NET

if you were talking about validation as in making sure it respects a certain length, certain numeric values, etc. The easiest approach is to build your own regular expression.

here is a sample from microsoft:
(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$             
=>Validates a strong password. It must be between 8 and 10 characters, contain at least one digit and one alphabetic character, and must not contain special characters.

here is a place for you to start: http://msdn.microsoft.com/en-us/library/ms998267.aspx
and a great free tool to build regexp: http://www.ultrapico.com/ExpressoDownload.htm
Random Solutions  
 
programming4us programming4us