Open
Previous  Next

Opens a connection to the specified database file.
The file will be created if it do not exist.
Syntax: Open (ConnectionString As String)
ConnectionString - Must be of the following syntax: Data Source = yourfile.

Example: 'Opens the database which is located in the same folder of the application.
Con.Open("Data Source = " & AppPath & "\Northwind.sl3")