Visual Basic 2015 – Create new OleDB Connection

I just installed the new Microsoft Visual Basic 2015. I want to build a database data entry using Visual Basic 2015. Here I want to show you how to create a new database connection on Visual Basic 2015. I use MS Access as the back end database and will be connected using OleDB connection.

The form design

Its a simple form with one button to execute or open the database connection. We can expand this later.


The Code

The code inside Connect button



Leave a Reply

Your email address will not be published. Required fields are marked *