getting access to a 'search folder'

P

palaga

hi
how can I get access to a 'search folder' from within an outlook 2003 addin
using outlook object model ? All folders I see are 'real' folders, not
search folders. For instance, I would like to see what's in the 'unread
mails' folder.
thanks
 
K

Ken Slovak - [MVP - Outlook]

You can't. Search Folders are under the Search Root folder, just below the
RootFolder of the InfoStore. You would need to use Extended MAPI or CDO to
get at those folders and the InfoStore, although once you have a folder
EntryID and the StoreID you could work with the search folder in Outlook
object model code using NameSpace.GetFolderFromID
 

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