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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|