Help with outlook appointments

A

Al

Hi all.

I have made a custom form that a user can create appointments from. These
appointments are visible in the main outlook calendar, but they can also be
deleted there.

I want the user to delete appointments from my form and not in the outlook
calendar.

Is it possible to lock an appointment in the main outlook calendar so they
cannot be deleted.
And if it is possible, how?
 
S

Sue Mosher [MVP-Outlook]

No, that's not possible to do with a custom form. An Outlook 2007 add-in probably could do it, though.
 
A

Al

I have made a custom Outlook 2007 add-in, with a form wich saves appointments
to the outlook calendar. Is there any way to programaticly locking
appointments in the outlook calendar so they can not be deleted or moved?

One possible workaround I have been thinking about is to delete and remake
the appointment every time the eventhandler for moving or deleting it is
fired. Is there any easier way of accomplishing this?
 
S

Sue Mosher [MVP-Outlook]

In Outlook 2007, you can use the new Folder.BeforeItemMove event to detect when the user is trying to delete an appointment or move it to another folder and then take appropriate action.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

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