Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > TechHelp > Directory > Access > Kill Access > How Can You Call That From Access Itself by Maurice Loucel >
Back to Kill Access    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
How Can You Call That From Access Itself
Maurice Loucel 
     
9 months ago
@Richard Rost:
Per your instructions.
How can you call that from ACCESS itself, simply kill the task, and delete the lock file if the lock file exist?, is that possible?
Richard Rost  @Reply  
           
4 days ago
Sorry it has taken me so long to see this. I sometimes go back through older threads and find questions I missed.

Yes, Maurice, a responsive Access application can launch an external batch file using VBA's Shell function. But if you're terminating that same Access instance, don't put the lock-file cleanup afterward in its VBA code. Once that process is terminated, its code cannot continue. A frozen instance also can't be relied upon to run its own recovery code.

For a normal exit, save your work and use Application.Quit. Reserve forced termination for a genuinely stuck instance. The command in this video targets all matching Access processes on the computer, not just one database, and unsaved work can be lost.

Any cleanup needs to happen outside Access, after confirming the target process has ended and nobody else has the database open. Don't delete an .laccdb or .ldb merely because it exists. Access normally removes it when the last user closes the database; a leftover file can also indicate a permissions or database problem. Start with a backup and test on a copy rather than your live database.
Add a Reply Upload an Image
Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 11/19/2026 11:26:23 PM. PLT: 1s