S
szukuro
I'm writing an Outlook Add-in using VSTO 2005. However there's a
slight problem; when I attach event handlers to the CustomAction event
of MailItems sometimes the method doesn't get called. There are cases
when attaching them more times (at run-time) overcomes this problem,
however sometimes it looks like they don't "stick", meaning I click a
custom action button once and it works, then I click it a second time
and now the handling method does not get called. I even fail to
recognize the pattern in this random behavior.
Has anyone else faced similar issues, and if so how do I overcome them?
slight problem; when I attach event handlers to the CustomAction event
of MailItems sometimes the method doesn't get called. There are cases
when attaching them more times (at run-time) overcomes this problem,
however sometimes it looks like they don't "stick", meaning I click a
custom action button once and it works, then I click it a second time
and now the handling method does not get called. I even fail to
recognize the pattern in this random behavior.
Has anyone else faced similar issues, and if so how do I overcome them?