.dotm File in Word 2007's Startup Folder

M

MikeT

Hello,

I have run into a problem that appears to be a bug in Word 2007.

If I save a .dotm file in Word's startup folder, the file seems to get
locked by Word while Word is open, which is OK. The problem is that when I
open another instance of Word, word complains that the .dotm is locked for
editing, when it really isn't.

I know that there are plenty of applications that install templates in
Word's Startup folder, and there are also many situations where more than one
instance of winword.exe is running, so I'm kind of surprised that I couldn't
find anything about this in the knowledgebase or newsgroups.

Here are the steps to reproduce the problem (using the released version of
Word 2007 on Windows XP):

1. Open Word 2007. Save the untitled document as:
C:\Documents and Settings\username\Application
Data\Microsoft\Word\STARTUP\MyDotm.dotm

2. Close the document and close Word.
3. Go to Start > Run, type "winword /n", and click OK. Word Opens with no
open document (/n means don't start with an empty document).
4. Repeat step 3 (Go to Start > Run, type "winword /n", and click OK.

Error: A new instance of word opens (which is correct), but the following
dialog comes up on top of Word:

"MyDotm.dotm is locked for editing by 'username'.
Do you want to:
Open a Read Only copy
Create a local copy and merge your changes later
Receive notification when the original copy is available"

An interesting thing I found, is that this doesn't happen if I save a .dot
file in the Startup folder. I can even rename MyDotm.dotm to MyDotm.dot, and
everything seems to work fine.

With the project I am working on, we use Word automation to do some file
conversions using an invisible instance of Word. When we create an invisible
instance of a Word application, we get the same "File In Use" message box. It
would be great if we could get this message box to not come up.

Has anyone else run across this problem? Are there any known workarounds?

Thanks,
Mike
 
M

MikeT

I contacted Microsoft support about this, and it has been filed as a bug
report. I guess the only workaround for now is to rename .dotm files to .dot.
 

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