Saturday 18 April 2015

Student Login Form Using Visual Basic 6.0- Tutorial-Quick and easy

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

7 comments:

  1. thank your coding is working

    ReplyDelete
  2. how about exiting application with 3 failure attempts

    ReplyDelete
  3. its ok but login form still standby so you need add code unload me after end if....example
    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
    unload me
    End Sub

    ReplyDelete
  4. sir orcal main sql ke database main connect karke same thing batye

    ReplyDelete
  5. Can you please help me to code student admission

    ReplyDelete
  6. Computer Gyan: Student Login Form Using Visual Basic 6.0- Tutorial-Quick And Easy >>>>> Download Now

    >>>>> 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

    ReplyDelete