Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Ping Ms. Mosher: How to tell if an AppointmentItem is master or not (http://www.outlookbanter.com/add-ins-outlook/50384-ping-ms-mosher-how-tell.html)

JohnV@nn June 13th 07 05:07 PM

Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
 
In a com add-in, is there a way to programatically test whether an
appointmentItem object is a series master, or just an occurrence in
the series? I found that the IsRecurring property is True, whether or
not the item is the master. And I don't see anything like an IsMaster
or IsOccurrence property.

Is there a way to do this?

Thanks,
John


Dmitry Streblechenko June 13th 07 07:07 PM

Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
 
Use AppointmentItem.RecurrenceState property:
olApptNotRecurring, olApptMaster, olApptOccurrence, olApptException

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

"JohnV@nn" wrote in message
ups.com...
In a com add-in, is there a way to programatically test whether an
appointmentItem object is a series master, or just an occurrence in
the series? I found that the IsRecurring property is True, whether or
not the item is the master. And I don't see anything like an IsMaster
or IsOccurrence property.

Is there a way to do this?

Thanks,
John




JohnV@nn June 13th 07 07:17 PM

Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
 
Perfect, thanks!

On Jun 13, 1:07 pm, "Dmitry Streblechenko" wrote:
Use AppointmentItem.RecurrenceState property:
olApptNotRecurring, olApptMaster, olApptOccurrence, olApptException

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

"JohnV@nn" wrote in message

ups.com...



In a com add-in, is there a way to programatically test whether an
appointmentItem object is aseriesmaster, or just anoccurrencein
theseries? I found that the IsRecurring property is True, whether or
not the item is the master. And I don't see anything like an IsMaster
or IsOccurrence property.


Is there a way to do this?


Thanks,
John- Hide quoted text -


- Show quoted text -





All times are GMT +1. The time now is 08:18 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-2006 OutlookBanter.com