PC Review


Reply
Thread Tools Rate Thread

BeforeItemMove firing twice

 
 
Manish
Guest
Posts: n/a
 
      18th Jun 2008
Im registering for MAPIFolderEvents_12_BeforeItemMoveEventHandler events on
Calendar Folder. When an appointment is deleted, or shift-deleted, my
handler does get called.

However, if I shift-delete an appointment (ie MoveTo folder in the callback
is null), and I cancel the event .. ie
public void CbkBefMov(object Item, Outlook.MAPIFolder MoveTo, ref bool
Cancel)
{
if (MoveTo == null) { Cancel = true; }
}
then the callback gets invoked a second time. This is bizzare. Any ideas
why?

Thanks
Manish Rao


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder.BeforeItemMove Event Beetle Microsoft Outlook Form Programming 1 27th Sep 2009 07:12 AM
Folder.BeforeItemMove Event Beetle Microsoft Outlook Discussion 1 24th Sep 2009 03:05 PM
BeforeItemMove fails with Exchange Shared Mailbox Calendar Simon Francesco Microsoft Outlook Program Addins 3 17th Mar 2009 02:13 PM
BeforeItemMove tobes Microsoft Outlook Program Addins 4 25th Sep 2008 08:35 PM
PC not firing up =?Utf-8?B?VG9ueSBP?= Windows XP General 4 18th Nov 2005 03:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 AM.