ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   C# COM Add-In: Form doesn't appear after closing n reoping it 3 times (https://www.excelbanter.com/excel-programming/380159-c-com-add-form-doesnt-appear-after-closing-n-reoping-3-times.html)

Waseem Chishti

C# COM Add-In: Form doesn't appear after closing n reoping it 3 times
 
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



All times are GMT +1. The time now is 05:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com