Outlook object model and SyncObjects
From: Petr Jarkovsky (pejasoft_at_volny.cz)
Date: 02/14/05
- Previous message: Niklas Banck: "Outlook 2000 drops attachments"
- Next in thread: Petr Jarkovsky: "Re: Outlook object model and SyncObjects"
- Reply: Petr Jarkovsky: "Re: Outlook object model and SyncObjects"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 22:44:55 +0100
Hi,
I have the problem with Outlook object model and SyncObjects.
When I use something like OutApp.Session.SyncObjects.Item(1).Start, it works
fine, but I need to catch events OnSyncStart, OnSyncEnd, OnProgress and
OnError. So, I wrote my own class (in Delphi, inherited from TOleServer) for
connecting to SyncObject and listening for these events.
When I connect to any SyncObject (e.g. OutApp.Session.SyncObjects.Item(1)),
the calling Start method of this object raise an exception with message:
'Cann't get synchronization objects in Outlook application. This problem is
obviously caused by the wrong configuration of Outlook application for
offline mode.' (translated to English).
I used some examples from MSDN and other web sites, I used even original
example code from Borland, but I still get the same error.
Can someone help me?
Petr Jarkovsky
- Previous message: Niklas Banck: "Outlook 2000 drops attachments"
- Next in thread: Petr Jarkovsky: "Re: Outlook object model and SyncObjects"
- Reply: Petr Jarkovsky: "Re: Outlook object model and SyncObjects"
- Messages sorted by: [ date ] [ thread ]