force close or delete

CData
3StarLounger
Posts: 308
Joined: 24 Dec 2015, 16:41

force close or delete

Post by CData »

hi Hans, hope you are well,
do you know of a way to get around run time '70' permission denied ?

would a FileSystemObject be able to?

occasionally a locked/corrupt Access file's .laccdb file is not delete-able

haven't found a way via manual i.e. task manager or file explorer
went to a code solution using Kill but though it works in on opened .txt files it hits the 70 error on an actual .laccdb

User avatar
HansV
Administrator
Posts: 78474
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: force close or delete

Post by HansV »

Try Cedrick Collomb's free Unlocker

(As always with freeware, be alert for offers of extra software)
Best wishes,
Hans

CData
3StarLounger
Posts: 308
Joined: 24 Dec 2015, 16:41

Re: force close or delete

Post by CData »

will save the link. not sure I can implement a 3rd party product in this case....
was hoping for something within authorized Windows world....
as always thanks....

looking for a way not involving getting users to close down their PCs - which will always do the trick with a locked up BE....
but is a hassle communicating to all the users....

User avatar
HansV
Administrator
Posts: 78474
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: force close or delete

Post by HansV »

As far as I know, there is no "native" method in Windows, except restarting.
Best wishes,
Hans