Outlook 2003 Categories behaviour

T

Tobias Böhm

Hello,

I'm trying to read existing categories from the registry. According to
http://www.slipstick.com/outlook/olcat.asp the categories are stored
in HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook
\Categories.

At first this key doesn't even exist. But when I use the Outlook Built
in category manager to add a category to the master list the whole
list suddenly appears in the registry and I can use it.

My questions:
- Does anyone know a way to simulate the behaviour, to add a category
in some other way than accessing the registry?
- Does someone know a way to access the "built in" masterlist (read)
in case the registry key doesn't exist yet?

Thanks in advance,
Tobias
 
K

Ken Slovak - [MVP - Outlook]

The master list is hard-coded and there's no access to that. The registry
entry won't exist unless you add a category in the UI, not from code. The
only way to add a category using code that will go to the master list is by
creating that registry key if it does not exist and then populating it with
your custom entry. That MasterList value is a REG_BINARY and must be
populated with a byte array using Unicode.
 

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