Sqlite with Delete db
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
Hello,
I was wondering if someone can help me out
i need a function to delete the DB after its been created and then delete it again
if the user cancel before finish it
but i use this code:
Thank you
Dummy1912
I was wondering if someone can help me out
i need a function to delete the DB after its been created and then delete it again
if the user cancel before finish it
but i use this code:
Code: Select all
but i got an error that says file is in usFile.delete(somefile)
Thank you
Dummy1912
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
I remember having this problem. I'm not sure how your program is working but could be due to sqlite using the file. You may need to exit sqlite before attempting to delete the file.
Other options are try garbade collection or put the delete function in a loop/timer until file is deleted as it can take a few seconds for a file to be deleted/moved which prevents you accessing it.
Other options are try garbade collection or put the delete function in a loop/timer until file is deleted as it can take a few seconds for a file to be deleted/moved which prevents you accessing it.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Hi,
Yes its true, sqlite still use the db file
i'll try to close it first and then we will see hows that going
and i come back ;)
Thanks for the idea
Yes its true, sqlite still use the db file
i'll try to close it first and then we will see hows that going
and i come back ;)
Thanks for the idea

visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023