Issue with using Reference .dot
From a third party application, we open word and it does the following:
1) Tries to copy a document template called Code.dot from the Master directory locally.
2) Attaches a reference to this template, Code.dot.
3) Runs Code.
The code.dot is where all of the functionality of the template is contained, so it cannot be released immediately.
However, when we save it, which is part of Code.dot programming, it saves it into a specific directory.
If I do not release the reference Code.dot before I save it. Because the third party software is holding on to its functionality, it will not allow the local copy of the Code.dot to be overwritten.
If I do release the reference to Code.dot before I save it, the problem becomes that as soon as I release it, the code stops and the code doesn't finish.
So I need to figure out an event where I can release the code.
|