Enumerate Outlook categories

  • Thread starter Mueller-Lynch Thomas
  • Start date
M

Mueller-Lynch Thomas

We would like to have a dropdown box with all the categories (master and
personal) of Outlook within our forms application written in VB.net

We know that there is a difference between OL 2003 and OL 2007. Nevertheless
the app should enumerate die categories in both versions.

Of course we don't want to loop through all items to get all the categories
(to store them within an array).

Is there a way to get them easily?
Thanks
Thomas
 
M

Michael Bauer [MVP - Outlook]

In OL07 you can loop through the Categories collection to get the items of
the Master Category List. In earlier versions that collection doesn't exist,
there you have to read the categories from the registry. In OL2k it was
stored in plain text, later as hex values.

Some more infos:
http://www.vboffice.net/workshop.html?pub=6&smp=1&cmd=showitem&lang=en#t6

If you want to get additional categories, which might be stored in the
items, there's no way around - you'd have to iterate through every folder
and its items.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Fri, 13 Feb 2009 04:20:00 -0800 schrieb Mueller-Lynch Thomas:
 

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