hi everyone, i have doing simple program using vb.net 2010 and ms-access 2007 back-end. my problem is i am new for vb.net. i have two forms loginfrm and mainfrm. in loginfrm form i have 2 text box for username and password and 1 combobox for login as(login type like admin, user, maintainance...) after click login button mainfrm will display and it shows if i choose admin it shows "welcome Admin" , if i choose user it shows "welcome user" bla bla... on the lable in mainfrm. and my code is working for this. but, my problem is i didn't wont to use combobox. instead i wont to to inter only username and password and click login. when i clike login it compares the password and username field and write "welcome admin Or welcom User etc..." on the mainfrm. so how can i do this? i think you will help me.
thank you
with best regards!!!