Programming a syncrhonisation with Outlook

  • Thread starter Thread starter DRIESSEN Michel
  • Start date Start date
D

DRIESSEN Michel

Hallo,

Is there somebody who has some experience in programming a synchronisation
with Outlook ?

If yes, how can I program such a synchronisation ?

Or can someone tell me where I can get some more information ?

Thanks.

Michel D.
Genk (Belgium)
 
What programming and language and API are you planning to use?
What kind of message store (Exchange, PST, etc)?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Hello Dmitry,

Thanks for your reaction.

I'd like to develop a synchronisation with Outlook. I have a developed a
software which has a quite sophisticated(?) calender.

Because my customers ask me for synchronisation with a PDA or a mobile, it
seems to be that Outlook is the ideal tool to be used as a bridge between my
software and a PDA or a mobile.

Right now I can send mails from my software to Outlook, using OLE.

But I have a need for :
- synchronisation with the Outlook calender
- synchronisation with the Outlook contacts
- reading the emails in the inbox.

The solutions for these needs has to be able to use PST, as well as
Exchange.

Can you tell me how to establish my goals ?

Thank you very much in advance for trying to help me.

Have a nice weekend.

Michel D.
Genk (Belgium)
 
I am not familiar with either one, but I suspect that they cannot do
Extended MAPI (either because of the language limitation, as in VB, or
because there are no MAPI headers).
That limits you to using the Outlook Object Model. OOM does not provide any
synchronization specific features (unlike Extended MAPI, which provides the
Incremental Synchronization API for the Exchange stores), so you have no
other choice but to do synchronization using brute force - loop thrrough all
the items in a folder and figure out whether each item was added or modified
since the previous sync.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Dmitry,

Thanks a lot for you answer.

I am prepared to loop through all items using brute force. Unfortunately
nobody ever told me how to do that.

I tried MAPI before but to my opinion you only can use MAPI for sending and
receiving e-mails.

Michel D.
Genk (Belgium)
 
1.
set Folder = Application.Namespace.GetDefaultFolder(olFolderCalendar)
set Items = Folder.Items
for i = 1 to Items.Count
set Item = Items.Item(i)
Debug.Print Item.Subject
next

2. You are probably thinking about Simple MAPI. Whatever Outlook does, you
can do in Extended MAPI; this is the native API used by Outlook itself.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top