i add a COM reference to my project by right clicking in the solution explorer on References->Add Reference. Click on the COM tab and look for the Microsoft Word 10.0 Object Library. Click Select and OK.
Then i included the following namespace
using Microsoft.Office.Core;
and typed
Word.ApplicationClass oWordApp = new Word.ApplicationClass();
and i tried to build the application.i am getting the following error.
The type or namespace name 'Word' could not be found (are you missing a using directive or an assembly reference?)
for creating a word document is the presence of microsoft office is compulsory?
Please give me clarification .
Thanks in advance.