"zeeway" <ze****@gmail.com> wrote...
Hi,everyone
I use AxWebBrowser.Navigate to open a word document, but I don't know
how to close the word document.Any advice would be really appreciated.
If you want to retain control over Word rather than let it do its own thing
(which is what you're achieving with the web browser route), you'll probably
need to open Word using its COM automation interface and manipulate the
resulting object. A Google search on "word com c#" seems to return a few
useful links on how to achieve this from a .NET application.
(As a general rule, opening and shutting Word repeatedly in a server
environment is a bad idea, but it does work nicely if you don't do it too
often :)