Link to home
Start Free TrialLog in
Avatar of neutrongenious
neutrongenious

asked on

password must not match current users windows password

i have created an application in vb.net it requires now i want to protect it in a way that the password user selects for the application should not match the current users password....how can i do this....
Avatar of gopinathdeepak
gopinathdeepak

well..at the time of password selection u can compare the value entered with the current entry in the database/ini file/registry or whatever storage place u have chosen for the password and if they are same u can pop up a dialog that says that the password chosen is invalid..choose another one..

something on those lines

Avatar of neutrongenious

ASKER

gopinathdeepak look what you are saying if it explains you some thing then expalin it agian.....
hmm..it looked pretty clear to me....

anyway...here it is again..

Assuming that u have the currently used password in the registry...
you can read the value from the registry, and compare it with the value that is entered by the user....if it matches, use a message box to show a warning that the "Password selected is invalid."

this is accordiing to what i understood of the question....if this is not what u wanted, u might want to clarify the question a little...

cheers.
hmmmmmm!
nop! thats not what i want i don't know the user password only user enters a password and i will have to compare it with windows......
ASKER CERTIFIED SOLUTION
Avatar of fazals
fazals

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks it works great..