Bob
Sat Oct 16 06:02:55 CDT 2004
The 'logic' here should be that each person should know his or her password
and no-other. If the name-password combination is wrong don't give the users
"mastermind" type clues about which bit was good and bad..
If the combination is bad, just say "username or password incorrect"
--
Bob Powell [MVP]
Visual C#, System.Drawing
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed:
http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS:
http://www.bobpowell.net/tipstricks.xml
Bob's Blog:
http://bobpowelldotnet.blogspot.com/atom.xml
"Joanne" <Joanne@discussions.microsoft.com> wrote in message
news:3CFF2843-4EA9-4904-BDFF-72614CDC3EF7@microsoft.com...
> I need some help with user names and passwords (five users and one
password
> for each user). I have two txtboxes (txtName, txtPassword). If a user
> clicks enter and both are empty then a message is displayed, "enter user
> name." If just the name is entered the message "enter password." If
wrong
> name and right password then message "re-enter name." If right name and
> wrong password message "valid name, wrong password." I cant figure this
out,
> can someone help me please? The names are tied to a passwords, for
example a
> user might have 123 for a name and a password of 456