Hi,
I dragged and dropped a my file.sqlite (meteonav.sqlite) to my project.
Now, I need to copy this database to a ApplicationData folder.
Here my code:
Var fileMeteoOriginal As FolderItem = *?*.Child(meteonav) 'HERE I DON'T KNOW HOW TO TREAT THE OBJECT AS A FOLDER, AND NOT AS A DATABASE!
Var fileMeteo As FolderItem = SpecialFolder.ApplicationData.Child(...).Child("Meteo.sqlite")
If fileMeteo.Exists Then
Try
fileMeteo.Remove
...
End Try
End If
Try
fileMeteoOriginal.CopyTo(fileMeteo) 'HERE I WISH TO DO THE COPY
Catch error As IOException
...
End Try
Thanks.