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

Hooking to Send/Receive Sync event of Contacts



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 18th 09, 10:01 AM posted to microsoft.public.outlook.program_addins
Deepak N
external usenet poster
 
Posts: 4
Default Hooking to Send/Receive Sync event of Contacts

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
  #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


 




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
Hooking up the ItemSend Event... Marketware Add-ins for Outlook 1 May 20th 09 05:22 AM
How to sync(?) Work and Home computers with same Send/Receive in Outlook 2003 [email protected] Outlook - General Queries 1 October 4th 06 07:13 AM
Problems with Shared Contacts and Send/Receive Shefsta Outlook - Installation 0 June 15th 06 08:41 PM
Automatic send/receive times out; manual send/receive works fine TN Outlook - Installation 1 March 17th 06 10:45 PM
Actve-Sync Prefs should include Handheld send, but not receive fro ActiveSyncStinksForHandhelds Outlook - Using Contacts 1 January 30th 06 06:24 AM


All times are GMT +1. The time now is 08:56 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.