Outlook - synchronize contatcs by visual basic aplicaton

M

Markus Brunner

Hi
I've made a visual basic programm to save contacts in an access application.

Afterwoards I exporting the contact to outlook.

If the contact exits, I have to delet them and then I creating a new one,
but I loosing now informations, which were made in the contact.

How could I synchronize contacts?

Many tanks for your help.

Regards

Markus
 
D

Dmitry Streblechenko

The simplest solution would be to look at the modified dates of a contact in
Access and Outlook (not even close to being 100% fool proof) and decide
which contact is the newest based on these dates.

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

Markus Brunner

Hi Dimitry

Many thanks for your reply.

One of the main problem for me is the saving of the new contact. I loosing
informations like picture, exchange ..... I do not have any informations in
the view in access. There are only: FirstName, name, adress ....

How could I save only this updatet informations to the existing contact? The
EntryID is read only.

Many thanks

Regards

Markus
 
D

Dmitry Streblechenko

You should not be deleting an existing contact and re-creating a new one.
For an existing contact, you only need to update the fields that you are
aware of; there is no reason to modify any other fields.

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

Dmitry Streblechenko

I am not sure I understand why this is a problem.
Do you *always* create a new contact? Are you saying you cannot search
for/open an existing contact?

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

Markus Brunner

Hi Dimitry

Many thanks and how? "For an existing contact, you only need to update the
fields that you are aware of.."

This is my problem.

Regards

Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top