Appointment deleted event

Add-in Express™ Support Service
That's what is more important than anything else

Appointment deleted event
 
Kim Algreen




Posts: 3
Joined: 2010-09-29
Hi

I am writing an application where I need to delete from a database when an appointment is deleted from outlook. I have found this advise in another thread...

As to handling deletions, you need to use Outlook2000.TItems; see TItems.OnItemRemove - note that to learn what item was deleted, you need to scan existing items.


But I can't figure out what Outlook2000.TItems is, I have tried to google it and search for it in the add-in express class reference, without finding anything. Can you come up with a simple code example on how to do it?
Posted 05 Oct, 2010 08:30:58 Top
Kim Algreen




Posts: 3
Joined: 2010-09-29
Using OutlookItemsEventsClass and connecting it to the deletedItems folder, and then deleting appointments from the database on the ProcessItemAdd event seems to solve the problem. Is this the correct way to do it?
Posted 06 Oct, 2010 04:05:00 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Hi Kim,

Sorry, I'm not sure I understand your original task in details. Most probably this is a correct way. At least, it looks like the one.

This forum is for Delphi developers... :)


Andrei Smolin
Add-in Express Team Leader
Posted 06 Oct, 2010 04:29:01 Top