PC Review


Reply
Thread Tools Rate Thread

Change calendar appointment colors programmatically

 
 
Johan Machielse
Guest
Posts: n/a
 
      18th Jul 2008
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


 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      18th Jul 2008
> - Can I use .NET to make such an add-in (I’ve read CDO 1.21 is not supported
> by .NET) ?


You can use the third-party Redemption library
(http://www.dimastr.com/redemption) with .NET as a replacement (and
improvement over) CDO.

> - Are there some working (.NET) examples that access the color label
> properties of an appointment?


I don't know of any .NET examples, but here's one for VBA using CDO that
will show you the right field to use:
http://www.outlookcode.com/codedetail.aspx?id=139

> - Is it possible what the customer likes to have?


Setting the color label on the appointment is possible, but maybe your
customer is not aware that something similar can be done without programming
using automatic formatting of the view? Also, I would not recommend spending
much effort building such a system for Outlook 2003, because Outlook 2007
completely changes the way color coding in the calendar, basing it all on the
value of the Categories property.

> Also, when he is creating a new appointment he wants to see

the colors of the attendees in the scheduling assistant.

That's not possible. Attendees don't have colors assigned to them.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Johan Machielse" wrote:

> 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
>
>

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      18th Jul 2008
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" <(E-Mail Removed)> wrote in
message news:5B476D69-FC72-41E3-802E-(E-Mail Removed)...
> 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
>
>


 
Reply With Quote
 
New Member
Join Date: May 2011
Posts: 3
 
      30th Jun 2011
Hi,
Did you get anything for your requirement? Actually, I am looking for the same thing.
Please let me know if you have found any way.
Thanks in advance,
Manoj

Quote:
Originally Posted by Johan Machielse View Post
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Appointment Colors Don't Match Russdv Microsoft Outlook Discussion 3 10th Jul 2009 01:25 AM
Outlook2000 calendar appointment colors Andrew Howell Microsoft Outlook 6 8th Jun 2004 01:06 AM
Outlook2000 calendar appointment colors Andrew Howell Microsoft Outlook Calendar 4 4th May 2004 02:01 PM
Outlook2000 calendar appointment colors Andrew Howell Microsoft Outlook Discussion 4 4th May 2004 02:01 PM
Calendar - Appointment colors thacker@dearborn.com Microsoft Outlook Calendar 1 24th Jan 2004 09:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:53 PM.