Hi,
I want to copy an internal data.db onto the SD card, but do I have to close it first ?
In Win32 I can't copy an open file, but Windows Mobile 6.5 don't care because of no other thread could use it.
What do you think ?
I want to copy an internal data.db onto the SD card, but do I have to close it first ?
B4X:
Dim SQL1 As SQL
SQL1.Initialize(File.DirInternal, "data.db", True)
...
If File.Exists(File.DirInternal, "data.db") Then
' SQL1.close
File.Copy(File.DirInternal, "data.db", sCSVdirSD, "DatenSicherung.db")
' SQL1.Initialize(File.DirInternal, "data.db", True)
End If
In Win32 I can't copy an open file, but Windows Mobile 6.5 don't care because of no other thread could use it.
What do you think ?