C# COM Add-In: Form doesn't appear after closing n reoping it 3 times

W

Waseem

Hi Guys;


I am developing a COM Add-In in C# for Excel 2002 and 2003. using
Visual Studio.NET 2005. I have both PIAs for 2002 n 2003 installed on
my System.

I have successfully added a Custom Menu with a few MenuItems, when user
presses a Settings MenuItem, i show him a Windows From containg a few
Text Boxes and Labels etc (C#). Other MenuItems also contains same
functionality, showing messageBoxes and Forms.

The Problem:
i close the From and reopen it by clicking on menu item. when i repeat
this 2 or 3 times, My custom MenuItems seems to stop responding.
Nothing happens when i click on any of my MenuItems. MenuItems gets
clicked but the form doesn't appear.

Same thing happens no mattet what application i choose Excel 2002 or
2003.

I await and higly appreciate your responses.

Waseem
 

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