Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Help with outlook appointments (http://www.outlookbanter.com/add-ins-outlook/68521-help-outlook-appointments.html)

Al March 13th 08 07:44 AM

Help with outlook appointments
 
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?



Sue Mosher [MVP-Outlook] March 13th 08 02:02 PM

Help with outlook appointments
 
No, that's not possible to do with a custom form. An Outlook 2007 add-in probably could do it, though.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Al" wrote in message ...
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?



Al March 14th 08 08:35 AM

Help with outlook appointments
 
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?

"Sue Mosher [MVP-Outlook]" wrote:

No, that's not possible to do with a custom form. An Outlook 2007 add-in probably could do it, though.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Al" wrote in message ...
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?




Sue Mosher [MVP-Outlook] March 14th 08 12:35 PM

Help with outlook appointments
 
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


"Al" wrote in message ...
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?

"Sue Mosher [MVP-Outlook]" wrote:

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

"Al" wrote in message ...
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?





All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com