T
tobes
Hi folks,
Having checked the forums and code samples, we're still struggling with 1
issue with our Outlook 2007 .NET (VSTO) plugin.
We have a .NET class that monitors a calendar that we've created. This
monitor class is always referenced from the main plugin, so and it's
lifecycle is the same as the plugin.
We hook the following calendar.Items events: ItemAdded, ItemRemoved and
ItemChanged, BeforeItemMoved. They all work great, EXCEPT, the
BeforeItemMoved event only works briefly and then stops working.
This monitoring class also keeps references to the calendar (MAPIFOlder)
object it's monitoring, and also a reference to the calendar.Items collection
class. Why would all the other events fire reliably, but not BeforeItemMove?
See the class code here.
http://rafb.net/p/dRcIj341.html
Could we be missing somehting? Any ideas what else we need to keep a
reference to?
Many thanks in advance.
Tobes
Note: I originally posted this on outlookcode.com, but this may be a better
place?
Having checked the forums and code samples, we're still struggling with 1
issue with our Outlook 2007 .NET (VSTO) plugin.
We have a .NET class that monitors a calendar that we've created. This
monitor class is always referenced from the main plugin, so and it's
lifecycle is the same as the plugin.
We hook the following calendar.Items events: ItemAdded, ItemRemoved and
ItemChanged, BeforeItemMoved. They all work great, EXCEPT, the
BeforeItemMoved event only works briefly and then stops working.
This monitoring class also keeps references to the calendar (MAPIFOlder)
object it's monitoring, and also a reference to the calendar.Items collection
class. Why would all the other events fire reliably, but not BeforeItemMove?
See the class code here.
http://rafb.net/p/dRcIj341.html
Could we be missing somehting? Any ideas what else we need to keep a
reference to?
Many thanks in advance.
Tobes
Note: I originally posted this on outlookcode.com, but this may be a better
place?