Recurrence Pattern Methods in Outlook 2000 and 2002

M

Mark Mesich

Hey All,

I have written an application that is supposed to work with Outlook 2000 and
Outlook 2002. I have noticed that the "RecurrencePatter.GetOccurrence"
method and the "Exception.AppointmentItem" property behave differently
between the two versions.

It seems that under Outlook 2002, when invoking the GetOccurrence method, or
accessing the AppointmentItem property, an message box gets displayed to the
user saying "Cannot read one instance of this recurring appointment. Close
any open appointments and try again, or recreate the appointment." Under
Outlook 2000 this error is raised and can be caught within code - which is
much nicer. It seems to me to be bad design in having the method and
propery accessors display their own message boxes!

Does anyone have any idea how these errors can be supressed under 2002? Or
am I doing something completely wrong. (Note that the desired result of my
code is still achieved. The user just needs to dismiss a number of messages
which is very annoying.)

Thanks a lot,
Mark.
 

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