accessing Outlook contacts using ADO

T

tmaster

I can access Outlook contacts from VB using ADO, by connecting as follows:

ConnectionString = "Provider=Microsoft.JET.OLEDB.4.0;Exchange
4.0;MAPILEVEL=Outlook Address
Book\;PROFILE=Outlook;TABLETYPE=1;DATABASE=c:\temp"

This works for my Outlook 2002. Will it work for MS Outlook XP and MS
Outlook Express 4.0+ ?

Thanks
 
K

Ken Slovak - [MVP - Outlook]

Forget about Outlook Express, there's not much you can do with it.

Accessing contacts with ADO gives you only about 44 fields of a
contact item and not all are named the same as the Outlook fields.
Supposedly there's a way to get more fields but no one I know has ever
been able to make it work. Access would be the same for Outlook 2002
as 2000 except some of the fields would trigger the security prompts.

It's easier and more effective to access Outlook's contacts using the
Outlook object model.
 

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