||Hosting Windows Forms Controls in COM Control Containers|
I've to host a windows forms control in Excel, and following the COMRegisterFunction and COMUNRegisterFunction I got it to work. The control inserts fine and also works ok including the context menu upon insert. But when I save and close the workbook and open it back the control draws correctly, but the context menu no longer works. I'm associated a ContextMenu to the .net usercontrol. Am I doing something wrong??