Show this folder as an e-mail address book.

Add-in Express™ Support Service
That's what is more important than anything else

Show this folder as an e-mail address book.
 
Oliver D.




Posts: 54
Joined: 2005-02-03
There is an option under the contacts folder's properties called "Show this folder as an e-mail address book.". How can I set this property programatically when adding a new contacts folder?

Thanks.
Posted 04 Apr, 2005 14:56:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Oliver.

Try the following code:

MAPIFolder.ShowAsAddressBook = True

This code works in Outlook XP and 2003.
Posted 05 Apr, 2005 06:00:32 Top
Oliver D.




Posts: 54
Joined: 2005-02-03
Well, this property does not exist in Outlook 2000.
What would be the equivilant for Outlook 2000?

Thanks.
Posted 05 Apr, 2005 08:35:49 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Oliver.

I think it is not possible to set the "Show this folder as an e-mail address book" property programatically because the Outlook 2000 object model doesn't contain the ShowAsAddressBook property for the Outlook.MAPIFolder interface.
Posted 05 Apr, 2005 10:10:07 Top
Oliver D.




Posts: 54
Joined: 2005-02-03
Yes, you are right. Microsoft has just confirmed the same. It's only possible for Outlook 2002 and up.

Thank you.
Posted 05 Apr, 2005 10:19:42 Top