![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Ken Slovak - [MVP - Outlook] wrote:
You have to cache the original value of the property or properties you are interested in. Even if you handle Item.PropertyChange or Item.CustomPropertyChange you'd only get the name of the property that was changed and reading its value would return the new value, not the original value. Thanks ... I thought there may be something internal I was missing. I'm doing this through the NewInspector event Inspector.CurrentItem. Does that sound right? Simon |
#2
|
|||
|
|||
![]()
That's how you'd get the currently opened new item, yes.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Simon Woods" wrote in message ... Ken Slovak - [MVP - Outlook] wrote: You have to cache the original value of the property or properties you are interested in. Even if you handle Item.PropertyChange or Item.CustomPropertyChange you'd only get the name of the property that was changed and reading its value would return the new value, not the original value. Thanks ... I thought there may be something internal I was missing. I'm doing this through the NewInspector event Inspector.CurrentItem. Does that sound right? Simon |
#3
|
|||
|
|||
![]()
It is worth noting that all the events are *not* designed for any kind of
synchronization. The work best for the UI only and are subject to be dropped under heavy loads. Needless to say yoru code must be running all the time. If you need to build a reliable solution, your only option is to either use the ICS (Incremental Change Synchronization) API with MAPI or rescan the folder contents all the time instead of relying on the events. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Simon Woods" wrote in message ... Hi [Using Outlook 2003 (SP2)] I want to write a little program which monitors a particular public journal and logs date, time, old/new value, who is making the change (and potentially other information) each time an item changes. Is there anything in the object model to help me or do I need to do most of it myself. Ideally, I'd like Outlook to tell me (by raising an event) just before an item is edited so I can capture the various data I need. Thanks Simon |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MS Outlook and AOL port monitoring | FourFunnels | Outlook - Installation | 1 | January 22nd 06 04:01 PM |