A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

BeforeItemMove firing twice



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 18th 08, 09:59 PM posted to microsoft.public.outlook.program_addins
Manish
external usenet poster
 
Posts: 12
Default BeforeItemMove firing twice

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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Events no longer firing No Name Add-ins for Outlook 1 December 8th 07 05:19 PM
ItemSend not firing Luke Outlook and VBA 0 August 23rd 07 08:20 PM
MouseWheel event not firing aiKeith Outlook - Using Forms 1 February 9th 07 08:07 PM
vbScript Not Firing Boyd Outlook - Using Forms 2 September 29th 06 10:58 PM
AdvancedSearchComplete Even Not Firing Dav Banks Outlook and VBA 8 June 8th 06 09:18 PM


All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.