I am writing a piece of C# codes to open a Microsoft Word application, as shown below:
................................................................................................................................................................................................................................
Microsoft.Office.Interop.Word._Application wordApp = new Word.Application();
................................................................................................................................................................................................................................
But the C# codes hit the error message "Word cannot load the OLE 2.0 or Docfile library" (see the screenshot below)
Can anybody help to provide a solution to this issue? Do I need to install the latest update of Microsoft Word 16.0? Or even do I need to re-install Microsoft Office?
Thank you.
Rgds,
Daniel