G
Guest
I'm having a problem:
I connect to an MS access db using jet oledb (it has a password). If the db
doesn't have a password, everything works fine. If i do, access gets locked
down (.ldb) with the access db 'Admin' user. Closing the Windows Form that
uses the oledbconnection has no effect on the ldb (even though i close the
connection etc). I can't delete the ldb manually or programatically (after
the .net appication is closed - the ldb disappears). Basically, I want to be
able to compact and repair the database everytime the application is closed.
I'm currently doing this using DAO (which doesn't have access to the db if
it's locked). So, is there a good solution that compacts the db via .net OR
can i somehow shut down the Admin user's use of the access db.
Thanks for any help
I connect to an MS access db using jet oledb (it has a password). If the db
doesn't have a password, everything works fine. If i do, access gets locked
down (.ldb) with the access db 'Admin' user. Closing the Windows Form that
uses the oledbconnection has no effect on the ldb (even though i close the
connection etc). I can't delete the ldb manually or programatically (after
the .net appication is closed - the ldb disappears). Basically, I want to be
able to compact and repair the database everytime the application is closed.
I'm currently doing this using DAO (which doesn't have access to the db if
it's locked). So, is there a good solution that compacts the db via .net OR
can i somehow shut down the Admin user's use of the access db.
Thanks for any help