View Single Post
  #2  
Old August 12th 09, 02:23 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Categories not persisted between sessions in Outlook 2007

Show the code you're using.

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


"Teodora Gancheva" Teodora Gancheva @discussions.microsoft.com wrote in
message ...
Hi,

I have a C# COM Add-in for Outlook 2007 that adds categories to mail
messages programmatically. I use mapiNameSpace.Categories.Add method to
add
the category to the Master Category List and the Categories property of
the
MailItem to assign the category to the mail. This works fine and the
category
is successfully added to the mail and to the Master Category List.
However, when Outlook 2007 is restarted only the category assigned to the
mail is persisted. The category disappears from the Master Category List.
I am using Outlook 2007 SP2 with Exchange account. Has anyone encountered
this issue before? I found very little information on the net about
Outlook
categories, so any hint is highly appreciated.
Thanks,
Teodora Gancheva


Ads