Can you control the order of add-ins hooked to the same event?

Add-in Express™ Support Service
That's what is more important than anything else

Can you control the order of add-ins hooked to the same event?
 
Bert Sinnema


Guest


One of our clients runs an add-in that hooks into the ItemSend event. Our Add-in hooks into the same event. A requirement is that first the other Add-in completes it's tasks before our add-in kicks in.

Is there a way to make sure our add-in's hook is called last?
Posted 29 Jun, 2015 12:43:49 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Bert,

You can try tp play with the ProgID of your add-in: the add-ins load in the alphabetical order of their ProgIDs. I'd check if this specific event is connected in the same or in the reverse order. Before you change the ProgID, you need to unregister your add-in project. Otherwise, this will create a mess in the registry.


Andrei Smolin
Add-in Express Team Leader
Posted 30 Jun, 2015 01:49:24 Top