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

前端 未结 8 1115
时光取名叫无心
时光取名叫无心 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 12:46

    It sounds like you may have a permission issue in DCOM. Try editing the Word permissions in DCOM config.

提交回复
热议问题