Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Ping Ms. Mosher: How to tell if an AppointmentItem is master or not

Geek News

Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
"JohnV[ at ]nn" <jmvannoy[ at ]gmail.com> 6/13/2007 3:07:52 PM
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

Re: Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 6/13/2007 5:07:25 PM
Use AppointmentItem.RecurrenceState property:
olApptNotRecurring, olApptMaster, olApptOccurrence, olApptException

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

"JohnV[ at ]nn" <jmvannoy[ at ]gmail.com> wrote in message
news:1181747272.222812.60100[ at ]q19g2000prn.googlegroups.com...
[Quoted Text]
> 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
>


Re: Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
"JohnV[ at ]nn" <jmvannoy[ at ]gmail.com> 6/13/2007 5:17:54 PM
Perfect, thanks!

On Jun 13, 1:07 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> Use AppointmentItem.RecurrenceState property:
> olApptNotRecurring, olApptMaster, olApptOccurrence, olApptException
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "JohnV[ at ]nn" <jmvan...[ at ]gmail.com> wrote in message
>
> news:1181747272.222812.60100[ at ]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 -


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net