Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a C# program that opens an application object via a type library. I have managed to set up my own event handlers which fire when the application events trigger, but I would actually like to override those events, rather than just know that they have occurred.

 

Anyone know whether this is possible (and how to do it?) Found this code which suggests it is possible, but I am looking for a tutorial or similar.

 

The code actually looks relatively simple - appears you only need to know the GUID for the application (which I guess I can find), and the DispID - not sure where that is found?

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...