BeforeFolderSwitch-Event in Outlook 2000

G

Gregor

Hello,
currently I´m writing a COM-Add-In for Outlook 2000 in C#. Implementing the
IDTExtensibility2-Interface was no Problem and the Add-In is also running.
But now I wanted to capture the User-Click-Events on the Foldertree. Therefor
I tried to register an Eventhandler on the
ActiveExplorer-BeforeFolderSwitch-Event.
outlookExplorer.BeforeFolderSwitch += new
ExplorerEvents_10_BeforeFolderSwitchEventHandler(BeforeFolderSwitch);<br>
But this doesn´t work. It brings up a COMException in
UCOMIConnectionPointContainer.FindConnectionPoint(...). Message: "Exception
from HRESULT: 0x80040200"
The same happens if I try to register an eventhandler on the Event
FolderSwitch. Does anybody know this problem or knows how I can solve it?
Please help, this is really important for me!
Thanks!

Gregor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top