automate opening, skip docs that require recovering?

M

ms

we've just changed our file servers and way back when i
had hardcoded the absolute path to some linked images in
our office templates. i now have to change the links in
all the documents. i've written the code to fix everything
and made it recursive opening all files in all folders
from a given root. but...

i'm having major problems when it gets to a document that
requires recovery. it seems that some documents are non
recoverable and just hangs up word. (v 2002). is there a
property or something in a document that i can check to
see if it needs recovering before or as it's opening to
skip the document? i'm already using the dsofile.dll to
get properties from closed docs. i've also tried setting
the documents.open openandrepair to false but it hasn't
changed anything. it gives me the prompt, but even if i
hit cancel or no it still hangs up.

any thoughts/suggestions greatly appreciated.
thanks.
ms
 
W

Word Heretic

G'day "ms" <[email protected]>,

sometimes you can get joy from right-click and select New instead of
Open

ms said:
we've just changed our file servers and way back when i
had hardcoded the absolute path to some linked images in
our office templates. i now have to change the links in
all the documents. i've written the code to fix everything
and made it recursive opening all files in all folders
from a given root. but...

i'm having major problems when it gets to a document that
requires recovery. it seems that some documents are non
recoverable and just hangs up word. (v 2002). is there a
property or something in a document that i can check to
see if it needs recovering before or as it's opening to
skip the document? i'm already using the dsofile.dll to
get properties from closed docs. i've also tried setting
the documents.open openandrepair to false but it hasn't
changed anything. it gives me the prompt, but even if i
hit cancel or no it still hangs up.

any thoughts/suggestions greatly appreciated.
thanks.
ms

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

Replies offlist may require payment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top