Closing instances of MSWord

G

Guest

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
 

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