N/APosted on - 12/01/2012
A problem with my free login form design with VB code. I got some sample template for a login form design which is composed with visual basic codes.
This is for my department store log in form administrator, and it seems like the password and username didn’t match to each other. Can you share some other VB coding technique for a log in system page?
Thanks and Regards,
A problem with my free login form design with vb code.
Here is a sample of simple Login code for Administration,
Private Sub Command1_Click()
If Username.Text = "Admin" And Password.Text = "1234" Then
MsgBox "INVALID username & password", vbCritical, "ERROR"
Private Sub Command2_Click()
Username.Text = ""
Password.Text = ""
The private sub command1_click is for entering the username and the password of the admin user or the Login button.
The private sub command2_click is for the cancelling or clearing the words that you have entered or the cancel button.
Hope it helps.