View Single Post
  #2  
Old June 18th 09, 02:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Hooking to Send/Receive Sync event of Contacts

When Outlook does a send/receive synch there is no way for you to tell it's
ongoing or when it starts or ends. You can only handle synchs that your code
starts.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Deepak N" endeep123[at]gmail[dot]com wrote in message
...
How to attach an eventhandler for SendAndReceive event of Contact
folders/Contact Items in outlook 2007 using VSTo AddIn. I tried using

Application.ActiveExplorer().SyncObjects.ForEach
{
SyncObject.SyncEnd += \\Do something
}

It is not working. Submitted using http://www.outlookforums.com


Ads