Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Nitin" <Ni...@discussions.microsoft.com> wrote in message
news:A88FAC2B-0F06-4847...@microsoft.com...
> Is there any way that i can programatically display a subcribed contact
> folder in the drop down list for address book in Outlook. The same
> functionality when the user selects the contact folder and selects "Show
> this
> folder as an email address book ". I have written my own MAPI service
> providers for Outlook and would like to do this from my provider. I guess
> that there is a method IAddrBook::SetSearchPath which can be used to set
> the
> serach path for the contacts, but could i use this in my service provider?
>
> Any help deeply appreciated.
We have a message store provider
Nitin
PR_AB_FOLDER_ENTRYID = 0x66100102
PR_AB_FOLDER_STORE_SUPPORT_MASK = 0x66110003
PR_DISPLAY_NAME
PR_AB_FOLDER_STORE_DISPLAY_NAME_W = 0x6612001F
PR_AB_FOLDER_FOLDER_DISPLAY_NAME_A = 0x6613001E
PR_AB_FOLDER_DISPLAY_IN_AB = 0x6614000B
PR_STORE_ENTRYID
Look at the OAB's root folder hierarchy table to see what these properties
contain for other folders.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Nitin" <Ni...@discussions.microsoft.com> wrote in message
news:6CB7717D-DD03-416A...@microsoft.com...
I wanted to know how are these hard coded values obtained, is there any
documentation that you could point me to regarding this,this would be of
great help.
I searched for PR_AB_FOLDER_DISPLAY_IN_AB in goggle as well as platform sdk
help but was unable to find any details on this.
Thanks again
Nitin
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Nitin" <Ni...@discussions.microsoft.com> wrote in message
news:81D8FF52-2920-4994...@microsoft.com...
Thanks in advance
Nitin
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Nitin" <Ni...@discussions.microsoft.com> wrote in message
news:3B10321F-F458-4903...@microsoft.com...
Currently I am trying to show a contact folder in Outlook address book's
drop down list.
I happened to read your post here, and tried on it.
It seems that OAB comes with an AB_UNMODIFIABLE flag in its
PR_CONTAINER_FLAGS property. Thus even though I can successfully CreateEntry,
SetProps, SaveChanges for the new contact folder, I still could not see it
in OAB container from the same Outlook session.
Then I came up with another one of your posts talking about modifying
properties in OAB provider's IProfSect interface (link http://groups.yahoo.
com/group/outlook-dev/message/21745)
In order to display my contact folder, do I still need to program through
IProfSect interface at the same time?
Any help is greatly appreciated.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"rick" <your...@yoursiteNOSPAM.com> wrote in message
news:33faeb1c7bbb452a...@ureader.com...