Skip to Content
CDO & MAPI Programming with Visual Basic:
book

CDO & MAPI Programming with Visual Basic:

by Dave Grundgeiger
October 2000
Intermediate to advanced
384 pages
10h 22m
English
O'Reilly Media, Inc.
Content preview from CDO & MAPI Programming with Visual Basic:

Recurrence

An appointment is made recurring by calling the AppointmentItem object’s GetRecurrencePattern method. This method returns a RecurrencePattern object, which is used to set recurrence information for the appointment. Calling GetRecurrencePattern also sets the AppointmentItem object’s IsRecurring property to True. Changes made to a RecurrencePattern object take effect when a call is made to the underlying AppointmentItem object’s Send or Update method.

An appointment can recur daily, weekly, monthly, or yearly. This is the recurrence unit. The default recurrence unit is weekly, but you can change this by setting the RecurrencePattern object’s RecurrenceType property to one of the following values:

CdoRecurTypeDaily

The appointment recurs daily.

CdoRecurTypeWeekly

The appointment recurs weekly (the default).

CdoRecurTypeMonthly

The appointment recurs monthly.

CdoRecurTypeMonthlyNth

The appointment recurs monthly, on the nth occurrence of a specific day of the week—for example, on the third Wednesday of each month.

CdoRecurTypeYearly

The appointment recurs yearly.

CdoRecurTypeYearlyNth

The appointment recurs yearly, on the nth occurrence of a specific day of the week in a specific month—for example, on the third Wednesday in April.

The RecurrenceType property is used in conjunction with other properties of the RecurrencePattern object to achieve a wide variety of recurrence patterns. The other properties used, and their meanings, vary depending on the value set in RecurrenceType. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel® 2007 VBA Programmer's Reference

Excel® 2007 VBA Programmer's Reference

John Green, Stephen Bullen, Rob Bovey, Michael Alexander
COM Programming with Microsoft® .NET

COM Programming with Microsoft® .NET

John Paul Mueller, Julian Templeman

Publisher Resources

ISBN: 156592665XSupplemental ContentCatalog PageErrata