PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Delete an recurrent appointment with a "deleted" exception

Reply

Delete an recurrent appointment with a "deleted" exception

 
Thread Tools Rate Thread
Old 04-04-2006, 12:41 PM   #1
alex
Guest
 
Posts: n/a
Default Delete an recurrent appointment with a "deleted" exception


I'm creating an addin for Outlook using C#.NET in Visual Studio .NET
via the Extensibility.IDTExtensibility2 interface. The addin, among
other things, basically sinchronize appointment with a SQL Server
database via a Web Service.
My problem comes as follows:
1. Interactivelly create a recurrent appointment.
2. Interactivelly delete a repetition of the appointment. An exception
with property Deleted is created in the RecurrencePattern object.
3. Programatically delete the appointment. Here I got an exception:
"Outlook can't delete this element".
Note: If I restart Outlook and try step 3 then I don't have any problem
and the appointment is deleted correctly.

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off