Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Calendaring / May 2005

Tip: Looking for answers? Try searching our database.

Item_Write Event on Appointment Item

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tecktim.khoo@gmail.com - 24 May 2005 04:50 GMT
Hi I'm currently developing an outlook custom form which does 2 things

1) Adds an appointment in the exchange calender for a user
2) The same information entered into the appointment is recorded into a
SQL Server Database

Using the item_write event, the custom form works perfectly fine for
adding and updating existing appointments. However, when dragging an
appointment from one calendar to another user's calender in outlook,
the item_write event only fires once, subsequent modification to the
appointment item does not trigger this event until it is dragged back
to my own calender. Is there a fix for this problem?
Thanks!
Sue Mosher [MVP-Outlook] - 24 May 2005 14:00 GMT
In Outlook 2002 SP3 and later, custom forms don't run code on items in someone else's mailbox by default. A registry value governs this behavior. See http://www.outlookcode.com/d/ol2003problems.htm 

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi I'm currently developing an outlook custom form which does 2 things
>
[quoted text clipped - 9 lines]
> to my own calender. Is there a fix for this problem?
> Thanks!
tecktim.khoo@gmail.com - 25 May 2005 05:08 GMT
Hello Sue,

Thank you very much for your reply. It works very nicely!

Now, I seem to have another problem. When dragging the appointment from
one calendar to another, i use the Item.Parent.FolderPath property to
keep track of who the appointment is being assigned to and with this
information; I am updating the SQL database accordingly. However, when
the appointment is dragged into another person's calendar, the
folderpath property is updated with a GUID. How do I get the target
calendar which the appointment item is dragged into or retrieve the
user which is receiving the new calendar item?

Your help is very much appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.