A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 6th 06, 04:28 PM posted to microsoft.public.outlook.program_vba
gxdata
external usenet poster
 
Posts: 13
Default How to identify item in DistList that's also in Contacts?

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?

--
Ian Thomas


Ads
  #2  
Old August 7th 06, 08:50 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to identify item in DistList that's also in Contacts?

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.
plugNext 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

"gxdata" wrote in message
...
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?

--
Ian Thomas



  #3  
Old August 8th 06, 07:38 AM posted to microsoft.public.outlook.program_vba
gxdata
external usenet poster
 
Posts: 13
Default How to identify item in DistList that's also in Contacts?

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" wrote in message
...
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.
plugNext 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

"gxdata" wrote in message
...
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?

--
Ian Thomas





  #4  
Old August 8th 06, 07:09 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to identify item in DistList that's also in Contacts?

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" wrote in message
...
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" wrote in message
...
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.
plugNext 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

"gxdata" wrote in message
...
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?

--
Ian Thomas







 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Identify Outlook 2003 mail delivery location BY Outlook and VBA 1 May 16th 06 04:34 PM
How to identify identity of sender? hringley Outlook - Using Contacts 1 May 16th 06 02:58 PM
How to identify pst file format wether outlook 2000 or 2003 Prakash Tulsiani Outlook - Installation 1 April 6th 06 10:02 PM
how to identify distribution list a contact is on cgarcia Outlook - Using Contacts 3 February 20th 06 06:31 AM
how do I identify the file holding my contacts on my back up disk openspace Outlook - Using Contacts 1 January 23rd 06 09:15 PM


All times are GMT +1. The time now is 08:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.