Quote Originally Posted by jmcilhinney
You're barking up the waaaaaaaayyy wrong tree. You do not code your user names and passwords into the app. You store them somewhere appropriate, e.g. a database, then when the user enters a user name and password you look for a matching record. If you find one the login is successful, otherwise access is denied. If you want to display a list of user names in a ComboBox then you get the user name list first, populate the ComboBox and then you only need to test the password for that user name. Whatever the detail you would never, ever do what you're suggesting.
You're right, it's the most LOGICAL way to approch it, and I SHOULD have done that, but I want to see what I can do in basic windows forms before I started any databasing and that, so sure, I COULD do it, but I don't WANT to yet, also, what I want to know will help me a LOT once I find out how to do it because there are lots of things you can do if you can use code to edit other code.