QUOTE(twfong614 @ 27 Apr, 2007 - 06:36 AM)

can some1 teach me the coding of login page?
i using VB6.0 and connect to MS.Access.
this is my design of the login page.

thx.
Well, it really depends what you want to do... Could you let me know what you're trying to do (multiple logins, where it goes when you log in, etc.)... I mean, if you want it to just have one login and after you log in, it goes to a different form... you'd basically do something like/similar to....
CODE
If login.text = "Loginname" and password.text = "Yourpassword" then
form2.enabled = true
form2.visible = true
If login.text is not "Loginname" and password.text is not "Yourpassword" then msgbox "Wrong username or password"
This post has been edited by jeff223: 26 Aug, 2008 - 02:30 PM