How to get a list of all categories

Hi,

I want to get a list of all Ctegories but cannot find anything about retrieving this infrormation. Has any one an Idea on how to do this in Pocket PC 2003 using POOM




Answer this question

How to get a list of all categories

  • RonInOttawa

    Is there a way to get the list of all categories using C#.

    I want to get all the categories present and thereby present a group like contacts view on the basis of categories.




  • SIDVIRGOSTER

    Hi,

    now I just need to know how I can realise this, because I'm not familar with the CEDB APIs.

    ralph



  • Craigster

    On WM2003 you would have to use the CEDB APIs directly. Open the object store volume and the database called "\Categories" then enumerate the rows present.

    On WM5.0 you can get them through POOM. Get the IItem interface for the required folder (e.g. Contacts) and get the PIMPR_FOLDER_CATEGORIES property. This will return a list of all the categories present for those items.

    Peter



  • MSFT Abel Valadez

    There is a third-party wrapper for the categories functionality available as part of this library :- http://www.inthehand.com/WindowsMobile.aspx

    Alternatively there was a CEDB P/Invoke wrapper (unsupported) posted here - http://www.opennetcf.org/forums/topic.asp TOPIC_ID=281

    Peter



  • How to get a list of all categories