Main menu

Tag Archives: VSTO

How to: Programmatically Re-enable an Add-in That Has Been Disabled (VSTO)

Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in when you try to debug it, the application might have hard disabled or soft disabled your add-in.- MSDN. To enable the Add-in back via the office application you have to follow whats mentioned in this link. Programmatically¬†Enabling Soft […]

Error loading type library/DLL (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))

  Well well.. here is another headache for those who automate office: System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.PowerPoint.Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{91493442-5A91-11CF-8700-00AA0060263B}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: […]

Tags

Archives