programatically determine which calendar occurences fall in time r

B

Bert_Bert

Hi,
it there any way e.g. using redemption.dll or mapi or Outlook object model,
to find out which instances fall in .

I would like to make non-default calendar and to programatically check e.g.
all the occurences that fall in today 8:00 to 15:00.

I mean there will be recurring events with exceptions and it would have to
determine it the same way calendar does when it renders its appearance.

I know how to filter based on Restrictions and based on dasl names in
redemption, but is this somehow related ? Filtering is something "more
stupid" and does not concerd recurrence patterns. I do not want to check it
manually if not necessary - rather not re-invent the wheel :)

thank you
 
K

Ken Slovak - [MVP - Outlook]

All the recurrences will be in the recurrence pattern or exceptions
collection on the master appointment, so filtering isn't what needs to be
done. Unfortunately, no matter what API you use, you still have to get the
recurrence pattern and figure out each occurrence and get it using the
GetOccurrence() method of the RecurrencePattern object. After getting each
one you would figure out if it sits within your specified window.
 

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