I want to have all my sqlite databases in the same place.
so I created the sqlite folder in my users directory.
and now I can’t open a sqlite database in that special folder.
have the db in the working directory, than it works.
my code:
//
f = SpecialFolder.UserHome.child(“sqlite”)
Dim dbf As FolderItem
dbf = GetFolderItem (f.NativePath + “/database.sqlite”)
dbLite = New SQLiteDatabase
dbLite.DatabaseFile = dbf
//
connecting to database error ‘database is closed’ get’s displayed.
the native path is ok, what’s wrong ?