Hi all,
Presently i am working on MS office tool development i complete the code fully and add the references,
1) Interop.word
2) Word
3) Office references
private void readFileContent(string path)
{
Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application();
object fileName = openFileDialog1.FileName;
object file = path;
object missing = System.Reflection.Missing.Value;
Word.Document doc = wordApp.Documents.Open( ref fileName, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);
doc.ActiveWindow.Selection.WholeStory();
but still it ends with the error- No overload Method "Open" takes "13" arguments.
Guide me to fix the error.
Thanks and Regards,
Deepakkumar G.