PDA

View Full Version : Changing AppointmentItem details



sportiva79
12-10-2007, 10:43 AM
Hi all,

I need to be able to programmatically change values in an AppointmentItem (specifically I want to change the ReminderSet property).

To access the items in my calendar I call a method for recursively finding the folder, then i access the Items collection within the MAPIFolder object. From here I am calling the index of the Items collection to access the particular appointment item.

Unfortunately when i now change the ReminderSet flag to false, this changes whilst the Sub is running but the next time it runs, it has reset to its original value.

I assume this is because the Items collection is passing me the AppointmentItem ByVal rather than ByRef, so i'm only editing a copy, but I don't know how to change this.

Any ideas? Thanks very much for your help

L

matthewspatrick
12-18-2007, 06:13 AM
Please post the code you are trying to use.