Microsoft KB Archive/228736

= Profman2.exe - MAPI Profile Manager v2.0 =

Article ID: 228736

Article Last Modified on 8/25/2005

-

APPLIES TO


 * Microsoft Messaging Application Programming Interface

-



This article was previously published under Q228736



Sample : MAPI Profile Manager v2.0



SUMMARY
Profman2.exe is a self-extracting achieve that contains a sample program demonstrating how to use the MAPI interfaces and methods that pertain to the manipulation and creation of MAPI profiles.

Here is a list of its functionality:
 * Create a new blank profile.
 * Add services to a profile.
 * Delete services from a profile.
 * List the services in a profile.
 * Add providers to a service.
 * Delete providers from a service.
 * List the providers in a service.
 * List the available properties of a service (even ones that are normally inaccessible).
 * List the available properties of a provider (even ones that are normally inaccessible).
 * Outlook 2000 Compliant (reads proper location of MAPISVC.inf file).



MORE INFORMATION
The following files are available for download from the Microsoft Download Center:

Download ProfMan2.exe now

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Description of Source Files

ItemInfo.cpp

This file contains the code that manages the MAPI interfaces for each item in the tree. It also contains some summary information about each item in the tree.

LeftView.cpp

This file contains the code that directly pertains to the the CTreeCtrl on the left-side of the application.

LoadProgress.cpp

This file contains the code for the user interface of the dialog box that displays the progress bar when loading the profiles at startup.

MailFrm.cpp

This file contains the code that manages the main frame UI. Contains the tree on the left and the list on the right.

Profman.cpp

Mostly Appwizard generated. It also contains the About Box code.

Profiles.cpp

This file contains the code that performs most of the MAPI work in the application. This file also helps to manage the tree.

ProfmanDoc.cpp

Mostly Appwizard generated. The document class for the application.

ProfmanView.cpp

This file contains the code that manages the CListCtrl on the right-side of the screen. The file also contains some code to turn MAPI properties into text for display.

SelectProvider.cpp

This file contains the code for the user interface and data that will display all available providers for the selected service and allows you to select one to be installed.

SelectService.cpp

This file contains the code for the user interface and data that will display all available services installed on the system and allows you to select one to be installed.

StdAfx.cpp

Source file that includes just the standard includes.

Additional query words: kbfile kbsample xmapi profile IProfAdmin IMsgServiceAdmin IProviderAdmin CreateProvider DeleteProvider CreateProfile samc MAPISVC.INF

Keywords: kbinfo kbdownload kbmsg kbfile kbfaq KB228736

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.