A problem Word 2000 Normal.dot

  • Thread starter Patrick Huang @ USTC
  • Start date
P

Patrick Huang @ USTC

Hello!
I have developed a shared add-in for Word 2000, when I opened a Word
document(let me call this application A), the add-in loaded automatically,
then called a COM DLL to do Word Automation. So, another Word instance(call
it B) started. After some operation, B was closed by COM DLL. Just this
moment, because A & B both use a same normal template normal.dot, there pop
up a warning dialog say "Word cannot save this file because it is already
open elsewhere(C:\.....\normal.dot)".

And in the COM DLL, I have tried to use
Application.Quit SaveChanges:=wdDoNotSaveChanges
or
Application.NormalTemplate.Saved = True

But the result are same, the Annoying dialog still exists.

Could some one give me a suggestion to solve this problem? You help will be
greatly appreciated!
 

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