View Single Post
  #3  
Old July 18th 08, 02:12 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Change calendar appointment colors programmatically

It's possible and you can use the Outlook object model's PropertyAccessor
object to work with the labels in Outlook 2007. For earlier versions of
Outlook I'd recommend using the Redemption library, which is a COM wrapper
around Extended MAPI and which works with managed code.

There are code samples of working with labels at www.outlookcode.com but I'm
not sure how many are managed code or if most are in VBA or VB6 type code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Johan Machielse" wrote in
message ...
Hi all,

A customer likes to see particular label colors for the different
appointments in his calendar related to the location where the appointment
will take place. Also, when he is creating a new appointment he wants to
see
the colors of the attendees in the scheduling assistant.

What is the best way to solve this customer requirement?
- Can I use .NET to make such an add-in (I’ve read CDO 1.21 is not
supported
by .NET) ?
- Are there some working (.NET) examples that access the color label
properties of an appointment?
- Is it possible what the customer likes to have?

Thank you in advance!

Johan Machielse
Avanade



Ads