Live Chat Icon For mobile
Live Chat Icon

WinForms FAQ - COM

Find answers for the most frequently asked questions
Expand All Collapse All

To get these events instead of using event delegates, you can create a sink for the events by
using the IConnectionPointContainer and IConnectionPoint interfaces of the Spreadsheet/Chart
component. Here are two articles that you can check:

HOWTO: Handle Office XP Spreadsheet Events in Visual C# .NET
http://support.microsoft.com/support/kb/articles/q319/3/41.asp

HOWTO: Handle Office XP Chart Events in Visual C# .NET
http://support.microsoft.com/kb/q319559/

Reply posted by Elan Zhou (MS) in microsoft.public.dotnet.framework.windowsforms.

Permalink

The tool Regasm.exe can create a COM typelib and creates the necessary entries in the registry (the CLSID and Typelib ). If only a typelib is required, you can use tlbexp.exe. A com callable wrapper (CCW) will be created when a COM client (VB, VBS, JS, C++ etc.) creates an instance of a (managed) class.

Permalink

Share with

Share on twitter
Share on facebook
Share on linkedin

Couldn't find the FAQs you're looking for?

Please submit your question and answer.