AllExperts > Windows NT 
Search      
Windows NT
Volunteer
Answers to thousands of questions
 Home · More Windows NT Questions · Answer Library  · Encyclopedia ·
More Windows NT Answers
Question Library

Ask a question about Windows NT
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Chris Schuh
Expertise
I have several years of schooling in this area (including post-secondary), and also several years in the work force. This is my career, and I love helping others out with computer problems. I possess excellent written communication skills which allows me to guide people through complicated solutions to their problems with relative ease. Outside of helping people with their computer issues, I'm also a Professional Magician and a Musician. You can check me out at www.chrisschuh.com!

 
   

You are here:  Experts > Computing/Technology > Focus on Windows 2000/NT > Windows NT > NT closing open database files

Windows NT - NT closing open database files


Expert: Chris Schuh - 11/13/2006

Question
Recently you answered a question (from Assaf) regarding how to backup workstations when there were still files open. I appreciate your answer about educating the users to close the applications but in my case, the offending program (JobBoss) is closed on all stations but the .mdb and .ldb files are still open. I can go into NT server and use the menu option to manually close the files and then back the database up. Are there any VBScript commands that will do that for me so that I can run it and close them up before attempting to back up the database files?

Jerry


Answer
Hi Jerry,

I don't recall answering a question like that, but I do think that there are some VB Scripting solutions that you can use. At the very worst, you could use API calls within the closing sub-routine on a form in the database, or on the file itself. I'd recommend doing it on a form though, so the call to the procedure or API is made right away and has a chance to fully run before the files are closed.

I don't have the exact calls, but I'm sure they can be researched and found on the internet.

Cheers,

Chris

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.