sorry Erel, I completely misunderstood, apologies.
I was using basing my code on the dbutils example...
File.MakeDir(File.DirApp, "data")
SQL1.InitializeSQLite(File.DirApp, "data/1.db", True)
also a post from Aug 10 2016
The file.DirApp is read only
You're right but you can create a sub dir in DirApp and write there:
Code:
Dim MySubDir AsString = File.Combine(File.DirApp, "SubDir")
IfNot(File.Exists(MySubDir, "")) Then
File.MakeDir(MySubDir, "")
End If
So I have to create the db in file.dirdata if Iwant to compile the program.
Graham