Exchange via ADO, reading contacts folder

T

Tom Trulley

Hello!

I'm using code from
http://support.microsoft.com/default.aspx?scid=kb;en-us;275262
to access Exchange Data via ADO. This code works, but it crashes if I
use the "Contacts" folder instead of "Calendar" (any other folder
works, too).

My code snipplet:
With ADORecordset
.ActiveConnection = ADOConnection
.CursorType = adOpenStatic
.LockType = adLockReadOnly
.Open "Contacts" <-- This crashes ("Calendar"
works)
End With

Any ideas?

P.S.: Crash is in msexch40.dll (I updated the JET engine to SP8,
didn't help)
 

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