Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Windows Addressbook 1

Status
Not open for further replies.

MikeBronner

Programmer
May 9, 2001
756
US
Is there a way to read mail recipients from the windows address book through VB?
What I would like to do is have my app send out emails to certain people in the address book.
Also, i would like to retrieve information on these people (names, phone numbers) through the use of the address book. This isn't anything illegal, as the address book is visible to me as a user anyway.

Any suggestions? Best Regards and many Thanks!
Michael G. Bronner X-)

"They who drink beer will think beer." Washington Irving
 
I've seen applications using the .ResolveAddresUI property, which brings up the WAB interface. Is there a way to directly exctract data without bringing up the interface? Best Regards and many Thanks!
Michael G. Bronner X-)

"They who drink beer will think beer." Washington Irving
 
You can do this quite easily using CDO (Collaborative Data Objects). The MAPI.Session object has an AddressBook function that will display the Address Book.

If you want the CDO class I use, just let me know where to send it.

Hope this helps,
Drider
 
that would be great!

however, i don't want the addressbook to display, but i want to be able to access its content from vb.

could you send the cdo class to webmaster@emmgee.com? thanks!! Best Regards and many Thanks!
Michael G. Bronner X-)

"They who drink beer will think beer." Washington Irving
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top