Changing AppointmentItem.Subject split recurrence (series)

M

Mk23

Hi

I have a problem by manipulating Appointment items properties. Our addin
manipulates the subject of appointmentItems.
When i have a recurrence appointmentitem, and I manipulate the subject, the
recurrence will be shown as split in the Outlook.

I tried to set the new subject over the recurrence pattern, but there is no
property that offers an operation like this. I also tried to set the subject
only at the first appointment of the recurrence, but the result was, that
only the one I manipulatet showed also the right subject.

Has someone any idea?
 
M

Mk23

This I tried naturally allready. But the problem of the splitted recurrence
remain.
 
D

Dmitry Streblechenko

Do you mean you get an exception in the series?
That means you are modifying one of the instances of the appointment, not
the master appointment.
Check if the AppointmentItem.RecurrenceState property is olApptOccurrence (=
2) or olApptException (=3) and use Parent property, which will return the
master appointment.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top