|
Hi Steve
Is there a way to tell if an appointment has been deleted in Office 2007 ?
When you delete an appointment from within Outlook, it gets moved to the deleted items folder.
If you try to find it with
hr = Namespace.GetItemFromID(BstrEntryID.GetStr(), vtStoreID, pvObject)
The appointment is found when it is in the deleted folder. This seems to happen even if you find the default calendar folder and supply both the EntryID and the StoreID.
Is there a property or method somewhere I can find which tells the folder the item is in ?
I'm trying to avoid enumerating all the appointments into a queue or file as this takes quite a while.
An alternative would be if you know how to enumerate only future appointments via some sort of filter ?
cheers
Dave Beggs
|