hi ,
windows 10 updated, i try office 2016 and 2019 same error, Visual studio community 2019.
.net 4.6.
i have an error when i try to use Office Interop.
Microsoft.Office.Interop.Word.Application appVersion = new Microsoft.Office.Interop.Word.Application();
Version = appVersion.Version.ToString();
appVersion.Quit();
this is the error:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).
i read that it related to x64 x86 and i need to change in the project properties to x86 - i did that same error.
any help?