How to identify item in DistList that's also in Contacts?

  • Thread starter Thread starter gxdata
  • Start date Start date
G

gxdata

Outlook 2003 pops up a form when a Distribution List is double-clicked, that
shows different icons for those items (members of the List) that are also in
the user's Contacts list.

How can I programmatically discover that? Is there a property that I can
use, or must I check one collection against the other?
 
Strictly speaking, you can parse the DL member entry id to extract the
regular AB entry id, then parse the AB entry id to extract the IPM.Contact
message entry id from it. None of that is documented of course...
Outlook 2007 will include the AddressEntry.GetContact method, that will let
you do what you need.
<plug>Next version of Redemption will include that nethod too (it will work
in all version of Outlook) - contact me at my private e-mail address if you
want a copy of beta</plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Strictly speaking, you can parse the DL member entry id to extract the
regular AB entry id, then parse the AB entry id to extract the IPM.Contact
message entry id from it. None of that is documented of course...
I understand what you're saying - it's very convoluted. Why does it have to
be so hard, to do very simple things?

--
IL Thomas
Dmitry Streblechenko said:
Strictly speaking, you can parse the DL member entry id to extract the
regular AB entry id, then parse the AB entry id to extract the IPM.Contact
message entry id from it. None of that is documented of course...
Outlook 2007 will include the AddressEntry.GetContact method, that will
let you do what you need.
<plug>Next version of Redemption will include that nethod too (it will
work in all version of Outlook) - contact me at my private e-mail address
if you want a copy of beta</plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
I don't know know - I didn't design it :-)

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

gxdata said:
Strictly speaking, you can parse the DL member entry id to extract the
regular AB entry id, then parse the AB entry id to extract the
IPM.Contact message entry id from it. None of that is documented of
course...
I understand what you're saying - it's very convoluted. Why does it have
to be so hard, to do very simple things?
 
Back
Top