Results 1 to 2 of 2

Thread: [RESOLVED] Microsoft.Office.Interop.Word Reference

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    597

    Resolved [RESOLVED] Microsoft.Office.Interop.Word Reference

    I made a reference to "Microsoft Word 16.0 Object Library". Then create a NameSpace using Microsoft.Office.Interop.Word and a function to open a docx WORD file. So far so good.
    I go to Reflection to see the compiled exe file, I am seeing this:
    Name:  COM Reference.PNG
Views: 243
Size:  19.7 KB

    Then I create a fold "Microsoft\Office\Interop\Word" in my project, Copy all related classes and interfaces into:
    Name:  COM_Office_Word.PNG
Views: 280
Size:  13.4 KB

    Then I remove the reference. It also works.
    So my question is that what is the difference between two methods? Any side effects or advantages?

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    597

    Re: Microsoft.Office.Interop.Word Reference

    I marked resolved thread. I have tested this solution for a month, it is stable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width