AddressEntry object vs Contact object

  • Thread starter Thread starter baspet
  • Start date Start date
B

baspet

Hi,
is there a way to associate an AddressEntry object with a
Contact object using vb? My app uses cdo
Session.AddressBook method to pop up outlook AddressBook
window. The return value of this method is a Recipients
collection. I need to iterate through this collection
and "cast" each individual entry (Recipient object) to
the corresponding outlook Contact. For example: If
AddressBook has an entry like "firstName lastName (E-
mail)" i want to get the outlook Contact named "firstName
lastName"

Thanks in advance
baspet
 
Starting at byte 37 of the EntryID of the AddressEntry for a contact
the contact's EntryID is embedded. If you start extracting bytes at
byte 37 and continue to the end of the AddressEntry's EntryID, then
discard the final 3 bytes you should get the EntryID of the contact
item.
 
Back
Top