Normal.dot is held by other application

E

Eric Li

Hi,

I am using C# to open a Word instance, then do mailmerge in my document.
After that, my program will try to close Word instance. At this moment, Word
will pop up an question: "The file is in use by another application or user
(C:\Documents and Settings\...\Normal.dot)". That's because I have another
Word application opened. The Normal.dot is help by this Word application. Is
there any way that I can ignore this question or prevent Word to popup this
question in my program when trying to close the Word instance that I
created?

Thanks in advance.


Eric
 
C

Cindy M -WordMVP-

Hi Eric,

Normally, I wouldn't expect automation such as you describe to do anything to
alter the Normal.dot template, which makes me wonder what other stuff
(Addins?) is running in Word that might trigger this? Do you have a test
system where you can install Word in its default state to test on?

Is there a reason you'd be automating another instance of Word, rather than an
existing one?
I am using C# to open a Word instance, then do mailmerge in my document.
After that, my program will try to close Word instance. At this moment, Word
will pop up an question: "The file is in use by another application or user
(C:\Documents and Settings\...\Normal.dot)". That's because I have another
Word application opened. The Normal.dot is help by this Word application. Is
there any way that I can ignore this question or prevent Word to popup this
question in my program when trying to close the Word instance that I
created?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
E

Eric Li

Hi, Cindy,

Good point! I will try to use existing Word instance if there is instance
opened, instead of creating a new one. Thanks for your help.



Eric
 

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