I want the user to be able to move the sqlite file after the program already opened a connection with it:
Dim conn As New SQLite.SQLiteConnection()
conn.ConnectionString = connString
conn.Open()
But of course the program can't do that because file is being used by an other process. Closing the connection, calling conn.Dispose()
, doesn't release the file.
So how can i release the file so then i can move it to an other location?