Tony Jollans was telling us:
Tony Jollans nous racontait que :
> Word looks first in the same directory as the document - I can't
> remember all the rest of the search order off the top of my head -
> because that allows you to package up a document and its template to,
> say, e-mail to someone else and for them to have the correct template.
I do not remember the search order as well, especially since it seems to
change slightly according to the version.
But, I always thought that the first place Word looked was the path
associated with the AttachedTemplate, if that fails, then comes the local
folder, then User, Workgroup, Default, etc.
This means that the 30 second delay will still be there, no?

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Tony Jollans - 04 Nov 2005 18:49 GMT
I just ran a quick test in 2003 to confirm -
Document in Folder A based on Template in Folder B
Copied Template to Folder A and also to User Templates Folder
Opened document and it used the local template (and successfully changed the
attached template to normal)
Saved and re-opened document and it no longer opened any copy of the
original template.
(All on local computer so can't say for sure it's not looking for something
else but I'm pretty sure it isn't)
--
Enjoy,
Tony
> Tony Jollans was telling us:
> Tony Jollans nous racontait que :
[quoted text clipped - 19 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org
jarod1701@gmx.de - 06 Nov 2005 15:27 GMT
first of all thanks to all of you,
I'm afraid there is no really "nice" way to solve my problem.
Shame over Microsoft for this really annoying bug :-)
Tony Jollans - 06 Nov 2005 16:50 GMT
Microsoft are far from perfect but this could hardly be called a bug! You
(perhaps not you personally, but your company) have deleted a template (or
the server it was on). Word looks for what it has been told to use and when
it can't find it, uses an alternative so that you can still work with your
document - seems a pretty good compromise to me. I'll grant it can be slow
doing this but that isn't under the control of Word - it's the network.
Have you tried my suggestion of putting a dummy template in the same
directory as the documents? Did it not work - or is there some reason that
you think it won't work for you?
--
Enjoy,
Tony
> first of all thanks to all of you,
>
> I'm afraid there is no really "nice" way to solve my problem.
> Shame over Microsoft for this really annoying bug :-)
jarod1701@gmx.de - 06 Nov 2005 18:23 GMT
Hi Tony,
It's annoying that one cannot remove the link to the template
programmatically WITHOUT openig the document first.
Your suggestion concerning the dummy template didn't work for me.
I think that is because Word first tries to find the original template
which non longer exists and after that looks for it in the doc's parent
folder.
Tony Jollans - 06 Nov 2005 20:43 GMT
I'm sorry it doesn't work. I've always understood that the first place Word
looks for templates is in the folder with the document and it has always
done that for me. Maybe there's an option somewhere that I've always got
switched on somehow, or maybe there's something else causing your problem.
I do understand your frustration and I know you have said you don't consider
it a proper solution, but logging off from the network while you run a batch
process would be another way of doing what you want.
--
Enjoy,
Tony
> Hi Tony,
>
[quoted text clipped - 5 lines]
> which non longer exists and after that looks for it in the doc's parent
> folder.
Charles Kenyon - 07 Nov 2005 17:55 GMT
Note. The dummy template needs to have the same name as the original
template.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Hi Tony,
>
[quoted text clipped - 5 lines]
> which non longer exists and after that looks for it in the doc's parent
> folder.
jarod1701@gmx.de - 11 Nov 2005 12:36 GMT
After struggling with a few other approaches I solved my problem the
"simple" way:
I added the server formerly holding the templates to my local hosts
file using an IP address of an existing server. Word can now "reach"
the server and opens the documents within a second.
You might also want to put something in for when a user creates a new
document based on the dummy template, such as creating a new document based
on normal.dot instead.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Word looks first in the same directory as the document - I can't remember
> all the rest of the search order off the top of my head - because that
[quoted text clipped - 40 lines]
>> jmarcilREMOVE@CAPSsympatico.caTHISTOO
>> Word MVP site: http://www.word.mvps.org