Re: ItemChange Event Handling Question
From: JonS (anonymous_at_discussions.microsoft.com)
Date: 03/10/04
- Next message: Suma: "Hi MVPs , Whats wrong with Microsoft Backup Addin?"
- Previous message: Sue Mosher [MVP-Outlook]: "Re: Save Message Attachments"
- In reply to: Ken Slovak - [MVP - Outlook]: "Re: ItemChange Event Handling Question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Mar 2004 13:46:07 -0800
Thanks!!
I will look at the sample and see what I can figure out.
Jon
----- Ken Slovak - [MVP - Outlook] wrote: -----
Look at the ItemsCB COM addin sample on the Resources page at
www.microeye.com It has an Explorer wrapper. You can create your own class
and collection for an Items wrapper that lets you dynamically set as many
Items_event handlers as you want and receive the correct events for that
Items collection. Just make sure within the class module to instantiate an
Item collection declared WithEvents. You can then add a new Items handler
when a new folder is created or a new Explorer is shown or whatever.
--
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
"JonS" <jons@appliedglobal.com> wrote in message
news:C38505B7-2655-4931-A821-2A8758F2BA84@microsoft.com...
> Hello,
>> I was wondering if it was possible to detect when any Item (in specific,
calendar items) changes. The problem is that I am writing a COM Add-In and
I want to detect if the user changes a calendar item. I can detect the
event on their default calendar folder with no problems, but what if they
create a new calendar themselves and start changing items in their new
calendar. It appears to me that the Items collection is a part of a
specific folder and that I have to designate which folder to look at the
ItemChange event, but if they create a new folder I will not be able to do
this. Is it possible to make all of the Items in all of the folders or
specific type folders fire this event when they are changed or am I going to
be limited to their default calendar folder?
>> Any help would be greatly appreciated.
>> Thanks,
>> Jon
- Next message: Suma: "Hi MVPs , Whats wrong with Microsoft Backup Addin?"
- Previous message: Sue Mosher [MVP-Outlook]: "Re: Save Message Attachments"
- In reply to: Ken Slovak - [MVP - Outlook]: "Re: ItemChange Event Handling Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|