1

I have two Outlook addins; a 3rd-party one (actually harmon.ie) and one that was built in my firm. Both respond to the "Send" button in Outlook. At the moment, when a user clicks "Send", harmon.ie executes first, followed by our add-in. I need to reverse this sequence but have failed so far. Can anyone offer advice?

Our add-in is built with Visual Studio and uses VSTO. I don't know how harmon.ie is built or how it is triggered by Outlook.

Things I have tried; Moving keys around in the registry, between HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER, in case the sequence is dependent on the order of the keys. With everything under HKEY_CURRENT_USER, both add-ins execute but still in the wrong order, even though our registry entry comes before the harmon.ie one when sorted alphabetically

If I move all the keys to HKEY_LOCAL_MACHINE, our add-in does not execute.

Ideally I need a solution that works for Outlook 2007 plus later versions, but anything that works would be great at this stage!

Thank you for any tips, best wishes, Ian

4

1 回答 1

0

无法指定加载 COM 插件的顺序或 COM 事件的顺序。为什么首先执行您的代码很重要?

于 2013-05-28T21:01:25.983 回答