See:
Office application does not quit after automation from Visual Studio .NET
client
http://support.microsoft.com/default...b;en-us;317109
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"Rajesh" <(E-Mail Removed)> escribió en el mensaje
news:1D51CC5F-4E58-4FB3-91C6-(E-Mail Removed)...
> Hi All,
> We have a .NET service which creates a shared instance of Microsoft Word.
> This instance is created in the Constructor of the Shared class.
> Once we have completed using the instance, we close/ quit the instance.
> Again on a call to the shared class another instance is created.
> And the cycle repeats.
> What we face is an issue while trying to close the instance of word or
> destroy the same when the service is stopped.
> A hanging instance of MSWord is seen in TaskManager.
> How do we get rid of this and make sure that all instances created by the
> service are destroyed when the service stops?
>
> Thansk for your time.
> Rajesh
>
>
>