PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Ping Ms. Mosher: How to tell if an AppointmentItem is master or not

Reply

Ping Ms. Mosher: How to tell if an AppointmentItem is master or not

 
Thread Tools Rate Thread
Old 13-06-2007, 04:07 PM   #1
JohnV@nn
Guest
 
Posts: n/a
Default 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

  Reply With Quote
Old 13-06-2007, 06:07 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: 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" <jmvannoy@gmail.com> wrote in message
news:1181747272.222812.60100@q19g2000prn.googlegroups.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
>



  Reply With Quote
Old 13-06-2007, 06:17 PM   #3
JohnV@nn
Guest
 
Posts: n/a
Default Re: Ping Ms. Mosher: How to tell if an AppointmentItem is master or not

Perfect, thanks!

On Jun 13, 1:07 pm, "Dmitry Streblechenko" <dmi...@dimastr.com> 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" <jmvan...@gmail.com> wrote in message
>
> news:1181747272.222812.60100@q19g2000prn.googlegroups.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 -



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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