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
thank your coding is working
ReplyDeleteGood
ReplyDeletehow about exiting application with 3 failure attempts
ReplyDeleteits ok but login form still standby so you need add code unload me after end if....example
ReplyDeletePrivate 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
unload me
End Sub
sir orcal main sql ke database main connect karke same thing batye
ReplyDeleteCan you please help me to code student admission
ReplyDeleteComputer Gyan: Student Login Form Using Visual Basic 6.0- Tutorial-Quick And Easy >>>>> Download Now
ReplyDelete>>>>> Download Full
Computer Gyan: Student Login Form Using Visual Basic 6.0- Tutorial-Quick And Easy >>>>> Download LINK
>>>>> Download Now
Computer Gyan: Student Login Form Using Visual Basic 6.0- Tutorial-Quick And Easy >>>>> Download Full
>>>>> Download LINK