Adding a second Exchange mailbox to a MAPI profile in VB code
Would be fairly easy to do using Extended MAPI, but VB cannot access it.
Dmitry Streblechenko (MVP)
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
Can't be done in VB at all, AFAIK. Should be possible with C++ or Delphi and
Extended MAPI, but Dmitry is the MAPI expert here.
Sue Mosher, Outlook MVP
Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
Microsoft Outlook 2000 E-mail and Fax Guide
Outlook and Exchange solutions at http://www.slipstick.com
> Does anyone know how to add a second Exchange mailbox to an Outlook MAPI
> profile in VB? The code would accomplish the same steps as Outlook's Tools
> | Services | Microsoft Exchange Server | Properties | Advanced | Add | <type
> in the mailbox name> in the dialog box.
> I tried the AddStore NameSpace method but it added "Personal Folders".