PC Review


Reply
Thread Tools Rate Thread

Cannot read one instance of this recurring appointment

 
 
Reginald
Guest
Posts: n/a
 
      23rd Mar 2004
Hi,

I'm trying to catch the event that new exceptions have
been created for recurring meetings from a COM Add-in.

I've defined an "ItemChange" event on the calendar folder.
Then I loop on the recurrence exceptions and I try to get
the Appointment item associated with each exception.

The problem is that sometimes Outlook displays an error
message to the End user saying "Cannot read one instance
of this recurring appointment. Close any open appointments
and try again, or recreate the appointment".

This happens for instance when I move one instance of the
recurring meeting in the calendar.

This reproduces in my COM Add-in as well as with VBA.

The code for the event handler is quite simple:

Private Sub colAppItems_ItemChange(ByVal item As Object)
Dim appitem As Outlook.AppointmentItem
Set appitem = item
Dim rec As Outlook.RecurrencePattern
Set rec = appitem.GetRecurrencePattern
Dim exception As Outlook.exception
For Each exception In rec.Exceptions
Dim subitem As Outlook.AppointmentItem
Set subitem = exception.AppointmentItem 'error message
Next
End Sub


Is that a known issue?

Thanks,

- Reginald

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Cannot read one instance of this recurring appointment dan_remove@bonfiresf.com Microsoft Outlook 0 2nd May 2005 09:32 PM
Cannot read one instance of this recurring appointment. Fei Microsoft Outlook Calendar 1 19th Dec 2004 06:38 PM
Cannot read one instance of this recurring appointment =?Utf-8?B?SmFtZXM=?= Microsoft Outlook 1 1st Dec 2004 03:13 PM
Cannot read one instance of this recurring appointment Corneliu Microsoft Outlook Calendar 0 29th Nov 2004 05:55 PM
Cannot read one instance of this recurring appointment Reginald Microsoft Outlook Calendar 3 23rd Mar 2004 04:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 PM.