Creating a custom appointment when user drag/drops task

C

Colin

Hi,

I'm trying to create the appointment using my own custom appointment form
when the user drags a task onto their calendar. If I trap the BeforeItemPaste
event, Cancel it and create my own appointment, the task gets removed from
the list when I want it to stay. Is there a way I can do this?

Thanks,
Colin.
 
C

Colin

Then how do I create an appointment with my own template and not the default
appointment message class? If I don't cancel the event, Outlook opens up a
default appointment form.
 
K

Ken Slovak - [MVP - Outlook]

When the appointment item opens just change its MessageClass to the message
class of your custom form, which must be published. You can trap the
NewInspector event of the Inspectors collection for that or if using Outlook
2007 you can use the ItemLoad event or other events.
 

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