Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / March 2008

Tip: Looking for answers? Try searching our database.

Getting MeetingResponseStatus for a DL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
melon - 17 Mar 2008 15:18 GMT
Suppose I have a MeetingItem.  MeetingItem.Recipients contains 1
member, and it is a DL.

I can extract individual members of the DL using AddressEntry.Member.
However, AddressEntry does not contain MeetingResponseStatus.

Is it possible to obtain the MeetingResponseStatus for each recipient
in the DL?  Do I need to do something like

1) Extract AddressEntry from the DL.
2) Add all AddressEntry to the Recipients list
3) Removed the DL from Recipient.
4) Obtain MeetingresponseStatus from each Recipient
Ken Slovak - [MVP - Outlook] - 18 Mar 2008 14:07 GMT
You can extract individual members from a DistListItem object by using the
GetMember() method, which returns a Recipient object. Why not just use the
Recipient.MeetingResponseStatus property?

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Suppose I have a MeetingItem.  MeetingItem.Recipients contains 1
> member, and it is a DL.
[quoted text clipped - 9 lines]
> 3) Removed the DL from Recipient.
> 4) Obtain MeetingresponseStatus from each Recipient
melon - 18 Mar 2008 14:34 GMT
On Mar 18, 9:07 am, "Ken Slovak - [MVP - Outlook]"
<kenslo...@mvps.org> wrote:
> You can extract individual members from a DistListItem object by using the
> GetMember() method, which returns a Recipient object. Why not just use the
[quoted text clipped - 19 lines]
> > 3) Removed the DL from Recipient.
> > 4) Obtain MeetingresponseStatus from each Recipient

ow do you get DistItem from AppointmentItem?
Ken Slovak - [MVP - Outlook] - 18 Mar 2008 21:28 GMT
You don't get a DistListItem from an appointment, you get it from the
Recipient object. In this case Recipient.AddressEntry.DisplayType will be 5
(ololPrivateDistList). If you see that you know you are dealing with a DL.

Get the AddressEntry.Name property and use that to find the DL in your
contacts. Once you have the DL as a DistListItem you can then use
GetMember() to retrieve each DL member in turn and each one you retrieve
will be a Recipient object, from which you can then retrieve
MeetingResponseStatus.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

<snip>
> ow do you get DistItem from AppointmentItem?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.