Add Category to Master Category List

C

Chris Walter

Hi,
additionally to my question in the other thread:

Is there a way to add a category to the
MasterCategoryList programmatically? When I add a new
category to the <item>.categories string it is saved only
for this specific item but is not available for other
items.
Thx in advance

Chris
 
K

Ken Slovak - [MVP - Outlook]

The master category list is stored in the registry in an Outlook version
dependent location. In addition, category lists for Outlook 2000 and earlier
are stored in ANSI strings and those for Outlook 2002 and later are stored
as Unicode strings. You access the ANSI strings as a REG_SZ registry value
and the Unicode strings as a REG_BINARY value.

The list is located at the
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Categories\MasterLi
st for Outlook 2002, but the key has changed from a string value to a
binary, to accommodate Unicode values.
Under Outlook 97 and Outlook 98, the category list was stored as a
semi-colon delimited string in the default value for the
HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Outlook\Categories key.
Under Outlook 2000, the list was a string value --
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Categories\MasterLis
t.

For Outlook 2003 the list is at
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Categories\MasterLi
st
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top