Dim dbFile As FolderItem
Dim db As New SQLiteDatabase
dbFile = GetFolderItem("settings.sqlite")
db.DatabaseFile = dbFile
If db.Connect Then
MsgBox("Connected to DB")
MsgBox("The database couldn't be opened. Error: " + db.ErrorMessage)
Trying to connect to a database from the “RUN” inside the IDE…
Now if I compile the application and the database file is there, it is fine.
But isn’t there a way to have it work when you click RUN and just testing the application from the IDE?