Thursday 22 October 2015

Login Form using Visual Basic 6.0 Adodc and Ms Access Database- Step by ...

Create a simple login form in visual basic 6.0 using ADODC control and Microsoft Access 2003 database-Step by Step demonstration.

After watching this video,you will be able to create a login form where multiple users can logged in and use the system.

In this Video tutorial,following points are discussed:

1.How to create a database and store the login credentials of different Users using access for VB login app.



2.How to Create a login form and do database connectivity with access .


3.How to do the authentication of users using some SQL commands and a piece of VB code.



Tutorial is only for Beginners,No validations rules are applied or followed while developing this login form.

No step is skipped while demonstration.All steps are explained with written text.



Source Code:



LOGIN BUTTON
Private Sub loginbtn_Click()

loginado.RecordSource = "select * from Logintab where Username='" + txtuser.Text + "' and Password='" + txtpass.Text + "'"

loginado.Refresh

If loginado.Recordset.EOF Then

MsgBox "Login failed,Try Again..!!!", vbCritical, "Please Enter correct Username and Password"

Else

MsgBox "Login Successful.", vbInformation, "Successful Attempt"

welcome.Show

End If

End Sub

CANCEL BUTTON

Private Sub cancelbtn_Click()

End

End Sub




Please Leave a comment and Subscribe to my channel :-)

3 comments:

  1. when i type to the username textbox and then click the password textbox ,,the text that was in the username textbox dissappears and it keeps doing that all the time

    ReplyDelete
    Replies
    1. Computer Gyan: Login Form Using Visual Basic 6.0 Adodc And Ms Access Database- Step By ... >>>>> Download Now

      >>>>> Download Full

      Computer Gyan: Login Form Using Visual Basic 6.0 Adodc And Ms Access Database- Step By ... >>>>> Download LINK

      >>>>> Download Now

      Computer Gyan: Login Form Using Visual Basic 6.0 Adodc And Ms Access Database- Step By ... >>>>> Download Full

      >>>>> Download LINK AF

      Delete
  2. Computer Gyan: Login Form Using Visual Basic 6.0 Adodc And Ms Access Database- Step By ... >>>>> Download Now

    >>>>> Download Full

    Computer Gyan: Login Form Using Visual Basic 6.0 Adodc And Ms Access Database- Step By ... >>>>> Download LINK

    >>>>> Download Now

    Computer Gyan: Login Form Using Visual Basic 6.0 Adodc And Ms Access Database- Step By ... >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete