Eg. In Visual Basic you would add a reference to the COM component in Project:References, then declare a member variable (on a form) of this type, using the argument 'withevents'. VB then allows you to access the events as methods from the object on the form, and allows you to call methods on the object itself.