Outlook Appointment Recurrence

G

GSX

Using VB.NET, I'm writing a utility that will export my upcoming
calendar appointments to an Access database for use in my Intranet.
Using the code is below to retrieve item 1:

''''''''''''''''''''' BEGIN CODE
' Create Outlook application.
Dim oApp As Outlook.Application = New Outlook.Application

' Get NameSpace and Logon.
Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi")

Dim oCalendar As Outlook.MAPIFolder =
oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar)
Dim oItems As Outlook.Items = oCalendar.Items

Dim oAppt As Outlook.AppointmentItem = oItems.Item(1)

'''''''''''''''''''' END CODE


"oAppt.RecurrenceState" will provide a 0 or 1 depending on the
appointment recurrence. However, it does not ell me if this is a yearly
recurring appt., daily recurring appt., etc.?

Could anyone provide their thoughts how I would go about getting the
recurrence pattern from Outlook?

Thank in advance,
GSX
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top