Winword.exe stays running after word embedded winform is disposed.
Posted on 2006-05-16
I have a namespace extension application which, in one step employs a winform, which has a webbrowser control that navigates to a word document on the C: drive.
Everything seems to work fine. But there are two problems.
1. Every instance of this particular form fires up a new Winword.exe not visible on the taskbar, but in the task manager. They eventually build up and stall the computer.
Is there a way to pool the applications into a single process?
2. The bigger problem is, when the winform hosting the webbrowser and word document is disposed, the Winword.exe process keeps on living until explicitly closed from task manager.
I'd appreciate if anyone could point me to the right direction to resolve this.
Very Best Regards