View Single Post
  #5  
Old November 6th 06, 10:17 PM posted to microsoft.public.outlook.program_addins
Mark
external usenet poster
 
Posts: 238
Default ItemChange event is modifying my Calendar Events

Ken,

Thanks so much! Once I read the words: "touching that property makes an
appointment recurring", I knew exactly what the problem was.

I now check IsRecurring before calling the GetRecurrancePattern method.
Everything works perfectly now.

Thanks again for your prompt, concise and accurate reply.

Mark

"Ken Slovak - [MVP - Outlook]" wrote:

As I mentioned, you need to check IsRecurring before accessing
item.RecurrencePattern. Just touching that property makes an appointment
recurring. You should only access that property if IsRecurring is true.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mark" wrote in message
...
Thanks for the reply.

Here is the entire class OutlookCalendar that I'm using. The Main Form
sets
the Delegate AppointmentsModified which re-loads all the appointments for
Today (by calling the method getCalendarDataSet) and re-displays them.

I don't think that my program is modifying anything in the event or the
recurrance pattern. Am I wrong?

Thanks again for any help.

Mark



Ads