C add reference to microsoftofficeinteropword. Here i am going to demonstrate how to create and edit ms word document using c and vbnet to create or edit ms word document first of all we need to add two references to our project. C csharp microsoftofficeinteropwordapplication 30 examples found. The add reference dialog box appears. This post shows how to convert a word document to pdf grammatically using c.
Imports microsoftofficeinteropword this line gets the green squigglys and says. The add reference dialog box appears. On the assemblies page select microsoftofficeinteropword in the component name list and then hold down the ctrl key and select microsoftofficeinteropexcel. Make sure the namespace or the type is defined and contains at least one public member.
You can rate examples to help us improve the quality of examples. In solution explorer right click your projects name and then click add reference. These are the top rated real world c csharp examples of microsoftofficeinteropwordapplication extracted from open source projects. In solution explorer right click your projects name and then click add reference.
Install it with the following command or you can also get it from nuget. Install package microsoftofficeinteropword version 15047971003. Microsoft word can be used with c code. You have a microsoft word document doc and want to read it in your c program.