Hi All,
I have created an itranet site which creates various doc's using a word mail
merge via OLE. It currently created the source data file, opens the merge
source file, completes the merge to a new file, saves the file and opens it.
The problem is when the word doc is closed an instance of winword stays in
the task manager on the server. This prevents me from creating any new docs
until I manually kill the instance in the task manager. There must be
something I have missed or not doing etc.
Any help would be greatly appreciated.
Thank you
Taras Pich - 28 May 2004 20:49 GMT
Try adding this after you close word
System.Runtime.InteropServices.Marshal.ReleaseComObject(wdApp)
Assumes you created the object like this
wdApp = CreateObject("Word.Application")
> Hi All,
>
[quoted text clipped - 9 lines]
>
> Thank you