View Single Post
  #4  
Old September 21st 06, 07:48 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default ContactItem.Save()

I suppose you could remove whatever class you're using to handle the
ItemAdd/Change events and then re-instantiate it after doing your synching.
Of course anything changed/added during that time would not be picked up
then.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Virda" wrote in message
...
Hello Ken,

Thanks for your reply!

I tried your recomended solution but it didn't work.

Acutually during Sync/receiving all items from server I have to add into
the
Outlook 2003 along with a userproperty where we save its ID.

After it I ahve to call ContactItem.Save().

As soon as this save() functin executed the
ItemsEvents_ItemAddEventHandler
evevt raises and inside this event handler we are sending this
perticular
item to server. Due to this cycle same data resend to server, that is
wrong.

IS there a way Icould disable this event or remove this event???


Ads