Had a look at AGraham's FilesEx, but couldn't figure out from the help how to set a file to Read-Only and then back to normal, not Read-Only.
Could somebody tell how that is done?
Use the getatributes method to get the file current atributes and use the same format, changing the atributes value, in the setatributes method...
I also advise you to use a DoEvents keyword between to consecutives setatributes...
Unfortunately, as noticed earlier, toggling the Read-Only flag on the device doesn't make my SQLite file go fast. It does when I do it on the desktop.
At least I learned the Bitwise manipulation now.