Adding events to a new item

L

lg

When is the best time to add an event to a new created appointment item. If
you add a write event for example to a new appointment item in the
NewInspector function and then save the appointment item, when you re-open
the saved appointment item, the NewInspector function gets called again and
adds another write event to the appointment item ?
 
K

Ken Slovak - [MVP - Outlook]

You don't add events to an item, they are part of that item's object model.
You choose to handle specific events for an item. Doing that has nothing to
do with NewInspector firing after opening an item, it will whether you
subscribe to NewInspector or events in Inspector.CurrentItem.
 

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