Calendar Application

K

kedar

Hi,
Currently I m developing calendar application. I would like to know
the implementation algorithm for repeat event feature.
Eg: Once I repeat the event every day and delete the repeated event on
some specific days the that event should disappear for those specific
days and for other days it should remain the same.
Can any one suggest me how to implement this..?
 
P

Peter Foot

POOM includes an Exceptions mechanism to allow you to do this (not to be
confused with .NET Exceptions). The Microsoft managed POOM APIs do not
include support for exceptions although this is present in the underlying
native APIs. The quickest solution I can suggest is to use a more advanced
wrapper:-
http://inthehand.com/content/Mobile.aspx
You can retrieve the current Exceptions via
Appointment.Recurrence.Exceptions and you can remove individual instances
using
Appointment.Recurrence.GetOccurrence(date)
And then deleting the returned Appointment which represents that single
instance.

Otherwise you'll need to implement wrappers for all the native COM
interfaces yourself which is no simple feat.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility
 

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