jeudi 9 avril 2015

VB.NET Office Interop

I am running a .exe that i pass an argument to, using Office.Interop v15. It works fine on the dev machine which is windows 7 with Office 2013. When i move to a VM that is running Windows XP and Office 2010, i get a run time error stating



System.Runtime.InteropServices.COMException (0x80020005): Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))



Is it because the interop v15 doesn't support a lower version of office?


Aucun commentaire:

Enregistrer un commentaire