D
davem
My mobile application needs to be able to delete the database on the mobile
device. However if another application (such as Query Analyzer) had
previously been connected to it, I receive an error telling me the file
cannot be deleted due to a sharing violation. Then I need to go into
Running Programs and manually stop the Query Analyzer to delete the
database.
I there a way to either unconditionally delete the database file or release
all resources to that so that the file may be deleted programmatically?
Ant suggestions are greatly appreciated.
Thanks,
Dave M.
device. However if another application (such as Query Analyzer) had
previously been connected to it, I receive an error telling me the file
cannot be deleted due to a sharing violation. Then I need to go into
Running Programs and manually stop the Query Analyzer to delete the
database.
I there a way to either unconditionally delete the database file or release
all resources to that so that the file may be deleted programmatically?
Ant suggestions are greatly appreciated.
Thanks,
Dave M.