Retrieving the COM class factory for component error while generating word document

前端 未结 8 1126
时光取名叫无心
时光取名叫无心 2021-01-02 12:45

I am trying to edit a word document from VB.NET using for the most part this code:

How to automate Word from Visual Basic .NET to create a new document

8条回答
  •  悲哀的现实
    2021-01-02 13:08

    I had the same problem while generating word document. The issue i solved by checking the task manager, and by ending the currently running process WINWORD.EXEs and then executed my code again. The issue gone.

提交回复
热议问题