Re: Code to make a folder an Outlook address book?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 06/22/04


Date: Tue, 22 Jun 2004 08:32:51 -0400

In Outlook 2002 or later, you can set the MAPIFolder.ShowAsOutlookAB
property to True and set the display name with MAPIFolder.AddressBookName.
You would need to do this with a COM add-in or script that each user runs,
since address book settings are specific to the user, not global.

-- 
Sue Mosher, Outlook MVP
Author of
     Microsoft Outlook Programming - Jumpstart for
     Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx
"ck" <c_kettenbach@hotmail.com> wrote in message
news:jeSBc.76252$Hw.48010@newssvr29.news.prodigy.com...
> Sorry for cross posting. Does anyone know any code to make a folder
> available as an Address book? Like when you right click a folder,
> properties, Outlook Address tab , and check the box to make the folder an
> address book? Can I assign that attribute through code when the folder is
> created? I have some code that runs against an access database and then
> creates a folder (subfolder of contacts) and populates the folder with
> contacts derived from a query result.  My users are having to recheck that
> box everytime the folder is created. Any help/advise is appreciated? By
the
> way, If I name the folder the same each time will it retain the address
book
> status, maybe its a better idea to not delete the folder just delete the
> contacts in the folder and repopulate it with the query results.  Thanks
in
> advance.
> ~ck
>
>


Relevant Pages

  • Re: DB Result Wizard Error
    ... Also noted that one folder, which contains no information can't be deleted, ... >> For instance Equipment Serial Number, Equipment Model Number, Cost Accounting ... >> to display the new equipment information. ... >> is in the table was added to the query. ...
    (microsoft.public.frontpage.programming)
  • Re: The case for displaying senders real email addresses (with do
    ... familier) but as soon as you see their real address you know it's Junk. ... So until someone at Outlook can figure ... The display addresses alone are inconsistant. ... When reviewing the contents of the junk mail folder before deleting, ...
    (microsoft.public.outlook.general)
  • Re: The case for displaying senders real email addresses (with do
    ... So until someone at Outlook can figure ... The display addresses alone are inconsistant. ... When reviewing the contents of the junk mail folder before deleting, ...
    (microsoft.public.outlook.general)
  • Re: The case for displaying senders real email addresses (with do
    ... So until someone at Outlook can figure ... The display addresses alone are inconsistant. ... When reviewing the contents of the junk mail folder before deleting, ...
    (microsoft.public.outlook.general)
  • Re: Outlook displays two identical Personal Folders
    ... Create a new mail profile and point it to reuse your current active .pst ... Milly Staples [MVP - Outlook] ... ||| Folder in the folder list. ...
    (microsoft.public.outlook.installation)