overriding Excel events
overriding Excel events
overriding Excel events
overriding Excel events
overriding Excel events
overriding Excel events overriding Excel events overriding Excel events overriding Excel events overriding Excel events overriding Excel events overriding Excel events
overriding Excel events overriding Excel events
overriding Excel events
Interoperation / Office Integration Topics include: COM, P/Invoke (e.g. Win32 API), marshaling, distributed applications, VBA and interacting with office apps

Enjoy an ad free experience by logging in. Not a member yet? Register.
Go Back  Xtreme .NET Talk > > > overriding Excel events


Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2013, 06:36 PM
Legend Legend is offline
Newcomer
 
Join Date: Jan 2005
Posts: 11
Legend is on a distinguished road
Default overriding Excel events



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?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Overriding com application events/methods alien Interoperation / Office Integration 0 03-13-2007 01:28 AM
Overriding vs. Event Handling rbulph General 3 08-25-2006 04:38 AM
Overriding DoubleClick Event... AlexCode Windows Forms 2 04-12-2004 06:47 AM
Overriding the ProcessCmdKey for a datagrid GornHorse Windows Forms 1 07-25-2003 06:42 AM

Advertisement:







Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
overriding Excel events
overriding Excel events
overriding Excel events overriding Excel events
overriding Excel events
overriding Excel events
overriding Excel events overriding Excel events overriding Excel events overriding Excel events overriding Excel events overriding Excel events overriding Excel events
overriding Excel events
overriding Excel events
 
overriding Excel events
overriding Excel events