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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get the ContactItems in a DistListItem?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 10th 06, 04:11 PM posted to microsoft.public.outlook.program_addins
OctopusThu
external usenet poster
 
Posts: 25
Default How to get the ContactItems in a DistListItem?

Using the method DistListItem.GetMember(int), I can only get the Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other than
just Recipients to a Distribution List.
How can I get the ContactItems associated with a Distribution List?
Ads
  #2  
Old November 10th 06, 06:27 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to get the ContactItems in a DistListItem?

In Outlook 2007, you can use Recipient.AddressEntry.GetContact.
plug In Redemption (all versions of Outlook), you can use
RDOAddressEntry.GetContact (returns RDOContactItem)/plug

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

"OctopusThu" wrote in message
...
Using the method DistListItem.GetMember(int), I can only get the
Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other than
just Recipients to a Distribution List.
How can I get the ContactItems associated with a Distribution List?



  #3  
Old November 11th 06, 03:55 AM posted to microsoft.public.outlook.program_addins
OctopusThu
external usenet poster
 
Posts: 25
Default How to get the ContactItems in a DistListItem?

Thanks for your help first, Dmitry.

I'm not quite familiar with the "Redemption" you mentioned. What namespace
is RDOAddressEntry in? I cannot find it in my MSDN library......

"Dmitry Streblechenko" wrote:

In Outlook 2007, you can use Recipient.AddressEntry.GetContact.
plug In Redemption (all versions of Outlook), you can use
RDOAddressEntry.GetContact (returns RDOContactItem)/plug

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

"OctopusThu" wrote in message
...
Using the method DistListItem.GetMember(int), I can only get the
Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other than
just Recipients to a Distribution List.
How can I get the ContactItems associated with a Distribution List?




  #4  
Old November 11th 06, 08:18 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to get the ContactItems in a DistListItem?

Redemption is a third party library, see the url in my signature.

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

"OctopusThu" wrote in message
...
Thanks for your help first, Dmitry.

I'm not quite familiar with the "Redemption" you mentioned. What namespace
is RDOAddressEntry in? I cannot find it in my MSDN library......

"Dmitry Streblechenko" wrote:

In Outlook 2007, you can use Recipient.AddressEntry.GetContact.
plug In Redemption (all versions of Outlook), you can use
RDOAddressEntry.GetContact (returns RDOContactItem)/plug

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

"OctopusThu" wrote in message
...
Using the method DistListItem.GetMember(int), I can only get the
Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other
than
just Recipients to a Distribution List.
How can I get the ContactItems associated with a Distribution List?






 




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
How to get the ContactItems in a DistListItem? OctopusThu Outlook - Using Forms 0 November 9th 06 05:14 PM
For Each DistListItem and Runtime Error '13' Zarqy Outlook and VBA 5 September 11th 06 05:13 PM
Delete ContactItems without going into DeletedItems/Trashcan Fredrik Nelson Outlook and VBA 1 May 12th 06 08:20 PM
Add ContactItems to DLItem with VBS Christoph Fricke Outlook and VBA 8 May 10th 06 06:03 PM
Insert fax in DistListItem Mpag Outlook and VBA 1 February 2nd 06 05:38 AM


All times are GMT +1. The time now is 09:06 AM.


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.