Outlook categories management

Add-in Express™ Support Service
That's what is more important than anything else

Outlook categories management
 
Volodymyr Bobko




Posts: 36
Joined: 2008-05-08
Hi

How can I programmatically add/remove outlook category. And assign/unassign created category to some outlook item. I need solution compatible with outlooks (2000,2002,2003,2007)

Thanks in advance
Posted 06 Jun, 2008 08:40:38 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hi Volodymyr,

Use the Categories property of any Outlook item (MailItem, TaskItem, etc.). The reference states:

Returns or sets a String representing the categories assigned to the Microsoft Outlook item. Read/write.



Andrei Smolin
Add-in Express Team Leader
Posted 06 Jun, 2008 09:05:34 Top
Eugene Astafiev


Guest


Hi Volodymyr,

Outlook keeps the list of categories in the following registry hive:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Categories

You can customize this list on your own adding categories and then use any custom category in your code.

Posted 06 Jun, 2008 09:33:59 Top