HELP! POOM Occurrences of recurring appointment with differentsubjects

B

Batterhead

hi there,

does anybody know how to change a recurring appointment so that the
subject of one occurrence is different from that of the others? i use
vs2005, c# and .netcf2. i know that wm5 ppc calendar can do that with
all the occurrences under a single recurring appointment, but i dont
know how to do that with cf.

thanks.
batterhead
 
B

Batterhead

Hi,

Get your appointments and modify the AppointmentRecurrence for the
instance of appointment you want to change.http://msdn2.microsoft.com/en-us/library/microsoft.windowsmobile.pock...

BR

Fabien Decret (Device Application Development MVP)
Windows Embedded Consultant

ADENEO (ADESET)http://www.adeneo.adetelgroup.com/|http://fabdecret.blogspot.com/

thanks fabien,

however what i want to do is changing the "subject" field of a
particular occurrence of a recurring appointment. i've checked out
appointmentrecurrence, it is talking about time-related attributes of
an appointment but not those master fields, e.g. subject. am i
correct?
i tested the wm5 calendar, it can store multiple different values of
the subject field in a single recurrent appointment. please help.

thanks
batterhead
 
P

Peter Foot

The Microsoft managed classes do not expose the Exceptions collection which
exposes the appointments within a recurrence which have been changed. From
your AppointmentRecurrence use GetOccurrence() to retrieve the individual
instance, change the subject and call Update to affect that instance.

Peter
 

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