Add a reference to the project
Select the Microsoft Word
14.0 Object Library
Make sure that selected libraries are added to
the section “References”
Add the namespace
Microsoft.Office.Interop.Word
Create a file word.doc
on the disk C
Input text in the created file
Add the following source code in
the function Main
The result of the program work
Change the source code to the following in
the function Main
The result of the program work
Add the following source code in the
function Main
The result of the program work
Add the following source
code in the function Main
The result of the program work
Add the following source code in the function Main
The result of the program work
Add the following source
code in the function Main
The result of the program work