![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi
i have recurring appointments in my application which displays & acts like outlook. when i delete one ocurrence( not whole series) that particular occurrance delete from that series and rest all same. And when i am trying to synchronize those appointments to outlook. i am creting recurring appointmnts with same pattern. but how can i skip the selected occurrance from that series Thanks -- Message posted via http://www.officekb.com |
Ads |
#2
|
|||
|
|||
![]()
Hi this extended to earlier mail
i am able to get appointment recurringpatern , can we get Appointments in that recurringpattern i am able to get particular appiotntment with date AptItem = oNS.GetItemFromID(strEntryId, null) as Microsoft.Office.Interop. Outlook.AppointmentItem; Microsoft.Office.Interop.Outlook.RecurrencePattern recurrencePattern = AptItem.GetRecurrencePattern(); Microsoft.Office.Interop.Outlook.AppointmentItem AptItem = recurrencePattern.GetOccurrence(strDate); but i want to get appointment collection based on date range is it possible -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200910/1 |
#3
|
|||
|
|||
![]()
Hi this extended to earlier mail
i am able to get no of appointments in selected appointment reccurring pattern. can i get appointmnet based on index like "(Microsoft.Office.Interop.Outlook.MAPIFolder) fldCalendarApp.Items[i] " -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200910/1 |
#4
|
|||
|
|||
![]()
You can only retrieve items in a recurring series by using GetOccurrence()
or if the item in the series is in the Exceptions collection. It's the same if you want to get items in a time range, you have to use GetOccurrence() repeatedly, calculating the following occurrence based on the recurrence pattern for the series. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "hemaneelagiri via OfficeKB.com" u54138@uwe wrote in message news:9d7a8b29655c3@uwe...[i] Hi this extended to earlier mail i am able to get no of appointments in selected appointment reccurring pattern. can i get appointmnet based on index like "(Microsoft.Office.Interop.Outlook.MAPIFolder) fldCalendarApp.Items " -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200910/1 |
#5
|
|||
|
|||
![]()
when i am trying to get appointmnetitem by using GetOccurrence()
like this Microsoft.Office.Interop.Outlook.AppointmentItem RecurringAptItems = null; RecurringAptItems = recurrencePattern.GetOccurrence(dtFrom); it is giving below error "You changed one of the recurrences of this item, and this instance no longer exists. Close any open items and try again." can u please help me -- Message posted via http://www.officekb.com |
#6
|
|||
|
|||
![]()
You have to allow for exceptions. If you don't get a specific occurrence
from a correct instance date using GetOccurrence() you have to handle that and check the Exceptions collection and see if a matching instance is in that collection. Each Exception object has an OriginalDate property you use for comparison to see if there's a match with the desired date. You can then get the new properties of the Exception by using its AppointmentItem object property, and you can check the Deleted property to see if the instance was deleted. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "hemaneelagiri via OfficeKB.com" u54138@uwe wrote in message news:9d87292f6099f@uwe... when i am trying to get appointmnetitem by using GetOccurrence() like this Microsoft.Office.Interop.Outlook.AppointmentItem RecurringAptItems = null; RecurringAptItems = recurrencePattern.GetOccurrence(dtFrom); it is giving below error "You changed one of the recurrences of this item, and this instance no longer exists. Close any open items and try again." can u please help me -- Message posted via http://www.officekb.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Skip later occurence in a series | avatar_58 | Outlook - Calandaring | 2 | October 9th 08 03:53 PM |
How do I print only a calendar recurring appointment series only? | Kris | Outlook - Calandaring | 2 | June 30th 07 10:46 PM |
When i open an existing appointment in Outlook Calendar, then close, it automatically creates an unwanted recurring appointment. | David H | Outlook - Calandaring | 1 | June 28th 07 11:32 AM |
Recurring appointment/events linked to other recurring appointment | uaewhitey | Outlook - Calandaring | 0 | February 2nd 06 08:55 PM |
Can I skip one occurrence of a recurring APPOINTMENT? | Sam | Outlook - Calandaring | 2 | January 23rd 06 03:40 PM |