* ************************+
File.Delete(File.DirInternal, "mysio.db") ' only for testing, removes the database
If File.Exists(File.dirinternal, "mysio.db") = True Then
Msgbox("exists","Ok")
End If
'check if the database already exists
If File.Exists(File.dirinternal, "mysio.db") = False Then
'copy the default DB
Msgbox("No exists","Ok")
File.Copy(File.DirAssets, "mysio.db" , File.dirinternal, "mysio.db")
End If
* ********************************
This Works and shows msgs as wished.
----------------------------------------------
But the very solution is :
----- delete files in the IDE
----- synchronize files ::: if you debug here the msg No exists is shown
----- add new files
----- synchronize them. ::: here msg exists shows
debug
This means the above system depends on " dir assets " , so , what's the way asset files be updated ?
I mean assets are updated & refreshed only with deleting and adding files.
Thanks again