Re: ItemChange Event Handling Question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: JonS (anonymous_at_discussions.microsoft.com)
Date: 03/10/04


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
     
     
     



Relevant Pages

  • Re: Calendar Freezes
    ... Please tell me how to create a calendar instead of a folder. ... press on calendar, it freezes up Outlook. ... I can open and create a folder in Outlook. ...
    (microsoft.public.outlook.calendaring)
  • Re: Calendar Freezes
    ... When you create the new folder, it should be a CALENDAR ... When you drop meetings into it, ... I can open and create a folder in Outlook. ...
    (microsoft.public.outlook.calendaring)
  • Re: Exchange public calendar link to external web possible?
    ... server address to use ... > Exchange Public Calendar to external web site. ... > using the Exchange servers directly, we can share a calendar folder ... Microsoft is providing this information as a convenience to you. ...
    (microsoft.public.windows.server.sbs)
  • Re: Moving Calendar Entries
    ... Sue Mosher, Outlook MVP ... > One particular customer wants to be able to store calendar entries as ... > this point (which places the saved email in the drafts folder, ... > with an email that they can then drag into our message store. ...
    (microsoft.public.outlook.calendaring)
  • RE: How to share user calendar / set calendar rights ( Multiple users at once )
    ... the best way to share calendar information for all ... the users is to use public folder Calendar. ... To create a public folder, ... To create a public folder, you must have permission to create folders ...
    (microsoft.public.windows.server.sbs)