changing appointment propreties

O

othmane benchebab

Hi,

I developp an Add-In for an appointment , and i want to update my database when i change the appointment from the calendar .
but i don't find the event .

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

You will need to monitor NewInspector and handle the appointment item with
the PropertyChange and CustomPropertyChange events in your appointment
handling class.

Then for changes made in an Explorer you will need to handle
Explorer.SelectionChange and instantiate a collection of appointment item
classes that each handles the PropertyChange and CustomPropertyChange events
so you can monitor changes from the folder UI. As the Selection changes you
must update what appointment items you are handling.
 
O

othmane benchebab

thank you for ur help.

but my problem is : when you open the calendar in outlook2007 ,you find your appointments and u can change for example the time of this appointment without open it .

i agree with you we can use Explorer.SelectionChange but my programm don't detect this event .
 
K

Ken Slovak - [MVP - Outlook]

You will need to handle SelectionChange if you want to do what you want to
do. You will also have to instantiate event aware objects or classes that
will handle the change event on those items as the selection changes.

I always use Explorer.Activate, SelectionChange and BeforeFolderSwitch to
see when things are changing. Even on startup of Outlook the SelectionChange
event will fire when the Explorer gets focus and something is selected.
 

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