Getting calendar events for today
Posted on 2011-03-03
I have an application that broadcasts a user's current Outlook calendar status. This application uses MAPI to retrieve calendar items. It is simple enough to get items for the current day, however repeating meeting items are stored such that just one item is created with all of the repeat details stored in a byte array. Because of this my application must analyze ALL of the calendar entries, first for if they repeat and if so, parse the byte array to see if the current date is present.
This is terribly slow since some of my users have years of calendar data.
Is there a faster way to do this? Does Exchange provide any kind of query mechanism?
I have looked at CDO and Redemption, but though these libraries would help me, for various reasons, I cannot use them.