c# MSOffice Interop Word will not kill winword.exe

前端 未结 5 1568
野趣味
野趣味 2021-01-04 11:04

I\'m writing an application that needed a MSWord document parser.

I\'m using Microsoft.Office.Interop.Word.Document to extract the texts from the documents, but even

5条回答
  •  花落未央
    2021-01-04 11:43

    If you want to end the process you need to call Quit on the Application object - see http://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.applicationclass.quit%28v=office.14%29.aspx

提交回复
热议问题