Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 4th, 2006, 12:07 PM
Authorized User
 
Join Date: Apr 2006
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Locked files in MS Word

    Hey - I'm coming across a problem with an application i'm working on that goes through a given directory and finds all word files and deletes their template, so that it can be restored to it's default.
I have it skipping read-only files but when it comes across a file that is locked because it is in use by another user, the program crashes. I can't seem to find any way of checking for this and handling it. If anyone has any ideas for me I would greatly appreciate it. Thanks for reading.

 
Old May 10th, 2006, 04:52 PM
Authorized User
 
Join Date: Apr 2006
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Anyone have a chance to look at this?

 
Old May 16th, 2006, 08:46 AM
Authorized User
 
Join Date: Apr 2006
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Please help.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Unlocking locked and encrypted files Connelly62851 VB Databases Basics 1 July 5th, 2007 06:24 PM
Locked files Raymondg Other Programming Languages 0 May 18th, 2007 03:46 PM
locked files list puzzleddude General .NET 0 June 6th, 2006 10:45 PM
How to open MS Word or PDF files? kaz VS.NET 2002/2003 0 December 18th, 2003 05:41 AM
Locked temp files Paul13 ASP.NET 1.0 and 1.1 Basics 0 June 5th, 2003 10:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.