THE LOGIN PROJECT USING VISUAL BASIC 2013 AND MS ACCESS 2013
This project is about creating a database selection, registration and login forms. We are using Microsoft access 2013 as a back end.
we are going first to create a form to select database that will contain our details
Then we shall create a form for registration of new users and finally we will create the login form so we have three procedures.
In this page we begin with the first one right away
Selection of database
Create a new project and name Login or any other name that you like.
Once the project is created and a new form displayed change the form text property to Login program.
Place a text box and a button on the form
Change the text property of the button to “SELECT” and its name to “btndatabase”
Change the name of the text box to “txtdatabase”
Double click the open file dialog to add it to your form.
Your form should now look like the one below
Now when the button is clicked we are going to select our database that contains our details required for the program.
The database required for this project can be downloaded using this link database
The code for the select button
Private Sub btndatabase_Click(sender As Object, e As EventArgs) Handles btndatabase.Click
txtdatabase.Text = OpenFileDialog1.FileName
The code will open the open dialog form and we can select the file (file path) that contains our login details
Double click the select button and enter the code in red and run your program
So far the program can only select the file path hence doing very little for us
lets now move to the next part of creating the registration form and its coding.