Reference to "Microsoft Word 14.0 Object Library" in Visual Strudio 2022

Edwin Euclides Egger 40 Reputation points
2023-08-28T00:54:34.88+00:00

Hi, I'm conveting a VS 2010 proyect in VS 2022. To use Word it's necessary to install the reference "Microsoft Word 14.0 Object Library". VS 2022 doesn't give a warning or an error, but doesn't recognize it. What's the solution?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,128 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jiale Xue - MSFT 47,976 Reputation points Microsoft Vendor
    2023-08-28T02:21:31.06+00:00

    Hi @Edwin Euclides Egger , Welcome to Microsoft Q&A.

    Microsoft Word 14.0 object library corresponds to Office2010.

    Are you sure Office 2010 is properly installed on your computer?

    You can use the following steps to reference the corresponding library in your project.

    1. Enter reference

    User's image

    1. Select the com component, search for word, and select the library corresponding to the office on the computer. (Since I installed office2016, the corresponding version number here is 16.0)

    User's image

    Best Regards,

    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.