OL98: Incorrect Start Dates for Shared Recurring Appointments (187933)
The information in this article applies to:
This article was previously published under Q187933 SYMPTOMS
You programmatically retrieve recurring appointments from someone else's calendar using Microsoft Visual Basic for Applications or Visual Basic Scripting Edition (VBScript), and the start dates for all of the recurring appointments are the same.
CAUSE
The other person did not give you full access to their shared folder.
WORKAROUND
Use one of the following workarounds:
- Make sure you are given full permissions to the other person's shared
folder.
- Instead of using the Restrict method once to retrieve appointments for a specified date range, use multiple Restrict methods to retrieve the appointments one day at a time. This way each time you use the Restrict method, you inherently know the start date of the appointments.
- Use the RecurrencePattern of the recurring appointment to manually calculate the start dates of the recurring appointments. This is not a trivial programming task.
- Microsoft has a fix available for download. To obtain this fix, please go to the following Microsoft Web site:
For more information about this file, please see the following article in the Microsoft Knowledge Base:
214575
OL98: Computer Failure May Affect Archive Fidelity
IMPORTANT: If you use the updated files from the patch above, you must use early binding in order for the Restrict method to work correctly. For more information on early vs. late binding, please see the following article in the Microsoft Knowledge Base:
181202
OL98: How to Automate Outlook from Another Program
In addition, to return the correct start times, you must use the Restrict method with one or more of the following properties of an AppointmentItem object:
- MessageClass
- Subject
- Start
- Duration
- End
- Location
- Sensitivity
These properties are internally cached by Outlook and behave differently than other appointment properties. If you use any other appointment property, such as Categories, the start times of the recurring appointments will be incorrect and will be the start time of the master appointment.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Outlook 98.
REFERENCES
For more information about creating solutions with Microsoft Outlook 98, please see the following articles in the Microsoft Knowledge Base:
180826
OL98: Resources for Custom Forms and Programming
182349
OL98: Questions About Custom Forms and Outlook Solutions
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbdownload kbpending kbprb KB187933 |
---|
|