Hello All,
i am trying to open the content of a word file in run time using c# code but i am getting below error.
"could not open macro storage". any one please help me to rectify this error or is it possible to provide me the code to skip the document while getting this error.
refer this below code.
using Microsoft.Office.Interop.Word;
Microsoft.Office.Interop.Word.Document docs;
Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.ApplicationClass();
docs = word.Documents.Open("F:\\Projects\\Resumes\\" + "santosh.doc");
Note: need to be refer(Microsoft.Office.Interop.Word)
Thanks
Santosh