c# MSOffice Interop Word will not kill winword.exe

前端 未结 5 1566
野趣味
野趣味 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:38

    I am thinking close just handles the document open inside word. Remember you can have more than 1 word document open with 1 application. You may want to try either a dispose method, or look at the word objects quit/exit methods (can't remember its been a while).

提交回复
热议问题