Timothy Parez
10/12/2007 11:19:00 AM
Hi,
I have a piece of software which creates multiple calendars.
And then I get the MAPIFolder for a specific calendar like this:
MAPIFolder calendarFolder = this.GetOutlookFolder();
What MAPIFolder I get is defined by the properties in this class and
doesn't really matter here.
I get an existing MAPIFolder instance, and now I'd like to add
AppointmentItems to it.
calendarFolder.Items.Add(....) does not seem to work
And this:
AppointmentItem appointment =
(AppointmentItem)outlook.CreateItem(OlItemType.olAppointmentItem);
appointment.Save();
Doesn't seem to allow you to specify where to save it.
Am I missing something?