A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Normal.dot is held by other application



 
 
Thread Tools Display Modes
  #1  
Old May 4th, 2004, 08:27 PM
Eric Li
external usenet poster
 
Posts: n/a
Default Normal.dot is held by other application

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


  #2  
Old May 6th, 2004, 02:47 PM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default Normal.dot is held by other application

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 :-)

  #3  
Old May 6th, 2004, 05:46 PM
Eric Li
external usenet poster
 
Posts: n/a
Default Normal.dot is held by other application

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

"Cindy M -WordMVP-" wrote in message
news:VA.00009712.014b0219@speedy...
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 :-)



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.