![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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\O utlook \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 |
Ads |
#2
|
|||
|
|||
![]()
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. -- 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 "Tobias Böhm" wrote in message ... 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\O utlook \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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 Default Calendaring Behaviour | TD | Outlook - Calandaring | 1 | March 3rd 09 09:35 PM |
Is this an Outlook normal behaviour and Why? | message recall failure delay? | Outlook - Calandaring | 0 | September 12th 08 02:11 AM |
Outlook 2007 Categories are a combo of Categories & Labels in 2003 | Scott Sherman | Outlook - Calandaring | 0 | February 13th 07 04:23 AM |
Outlook strnage behaviour | Ramesh | Outlook - General Queries | 0 | July 24th 06 02:40 AM |
outlook 2003 - categories | omoaustria | Outlook - Using Contacts | 2 | February 10th 06 09:58 AM |