Hi am using a web browser control
axWebBrowser1.Navigate(Application.StartupPath+\\Results.Doc,ref Optional,ref Optional,ref Optional,ref Optional);
now a word document will be opened in browser (word.exe is also opened in background)
now when u close the browser the word.exe is still running background.
pls tell me how to solve so that i am not able to modify the word document . it says its being used by other process"
i have kill the Word.exe
Pls tell me how to solve

Web browser Instance is not Killed
weboy
No only this application is running.ok is there any other way where in i can achieve this functionality without word.exe is running at background.
angiedolfin
This is the nature of Word - to remain open in order to satisfy multiple requests. For example, if you have Outlook and it's configured to use Word to open e-mails, when you open up an e-mail and then close it later, WinWord remains in memory. This is just the way it works, unfortunately.
Do you have other programs running the background, such as Outlook, that could be leaving WinWord running
JAIPAL
The short answer is 'no'. In order to view a Word document, winword needs to be running. And, as was already mentioned, it's the way Word works. To be fair, it's also the way other similar application (such as Acrobat Reader) work.
Sorry there isn't a better way.