Normal.dot is already in use by another user or application.

C

Case Advantage

Hi,

My application uses word to create templates. Application adds Mail Merge
toolbar temporarily while editing the templates. These templates are later
used to create the documents with the merge fied values.

The application gets the error related to Normal.dot sometimes. The errros
says "Normal.dot is already in use by another user or application." It does
not allow word to run properly. From the source code, it doesn't seem to
corrupt the normal.dot templates because the Mail Merge ToolBar is added in
the context of the active document instead of global template and the toolbar
is added temporarily as shown in the following code,

NewCommandBar = WordApplication.CommandBars.Add(Name:=CBR_NAME,
Temporary:=True)

When the document is closed , the application removes the commandbar from
the Word application.

The error stated above has occured quite frequently in some of the PCs. It
is noteworthy that they dont' have any other add-ins in the word and the
error has occured even when the word is solely used by our application.

If you could help me to a solution that would be great. I can post the
detail code if needed.

Thanks,

Kabita
 

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