Windows Form InvalidCOMObjectException - C#

J

Jim McLeod

Hi Guys,

I've created an Office.CommandBarPopup Add-In for Excel that launches a
Windows Form as a modal dialog when the embedded button is clicked.

However, when Excel is shut down I am receiving an InvalidCOMObjectException
error. This is even happening even though the form has no embedded controls.

Is there a procedure that needs to be followed when destroying forms from
Office add-ins?

Best regards,

Jim...
 
Top