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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top