Student Login Form using Visual Basic 6.0
How we can create a login form (Student Login Form) with ease.
I feel that you are much familiar with the controls and events of VB.
Login Form is basically designed to verify the user before granting the access to use any system.
First we will create login form and do the authentication of user using simple lines of code..
Secondly we check that if login is successful then redirected the control to Main form.otherwise control willnot be redirected.
simple steps to create Student Login form.
Every one can create such kind of applications quickly.
Code
Private Sub Command1_Click()
Dim username As String
Dim password As String
username = "admin"
password = "admin"
If (username = Text1.Text And password = Text2.Text) Then
MsgBox "login successful......"
Form2.Show
Else
MsgBox "sorry..... login failed....try again...."
End If
End Sub
PLEASE LIKE AND SHARE
SUBSCRIBE TO MY CHANNEL
How we can create a login form (Student Login Form) with ease.
I feel that you are much familiar with the controls and events of VB.
Login Form is basically designed to verify the user before granting the access to use any system.
First we will create login form and do the authentication of user using simple lines of code..
Secondly we check that if login is successful then redirected the control to Main form.otherwise control willnot be redirected.
simple steps to create Student Login form.
Every one can create such kind of applications quickly.
Code
Private Sub Command1_Click()
Dim username As String
Dim password As String
username = "admin"
password = "admin"
If (username = Text1.Text And password = Text2.Text) Then
MsgBox "login successful......"
Form2.Show
Else
MsgBox "sorry..... login failed....try again...."
End If
End Sub
SUBSCRIBE TO MY CHANNEL