Author: mlath1 | Posted on: 11/3/2007 9:39:14 AM | Views : 529

Hi all,

 I added word documents libraries as reference in my project after that I got two dlls namely Microsoft.Vbe.Introp.Word.dll and office.dll. Then, I wrote this code

 

 1 Word.Document doc = wordApp.Documents.Open( ref file, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj,
2
3 ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj);
4
5 Word.Document doc = wordApp.ActiveDocument;
6
 
 

and I got these errors

1) The type or namespace nam ...

Go to the complete details ...