RDOMAPIFormMgr object

 

RDOMAPIFormMgr exposes MAPI forms in the current MAPI session; it corresponds to the IMAPIFormMgr Extended MAPI interface.

 

Returned by:

RDOSession.MAPIFormMgr

 

The example below enumerates all installed forms in the local form container.

set Session = CreateObject("Redemption.RDOSession")

Session.MAPIOBJECT = Application.Session.MAPIOBJECT

set PersonaFormContainer = Session.MAPIFormMgr.OpenLocalFormContainer

for each FormInfo in PersonaFormContainer

  Debug.Print FormInfo.DisplayName

next

 

 


Derived from: IDispatch

Methods


OpenDefaultFormContainer
Returns RDOMAPIFormContainer object representing the default form container.
 
OpenEnterpriseFormContainer
Returns RDOMAPIFormContainer object representing the Enterprise form container. 
 
OpenFolderFormContainer(Folder)
Returns RDOMAPIFormContainer object representing the form container in the specified folder.  

Folder - RDOFolder object containing the forms.
 
OpenLocalFormContainer
Returns RDOMAPIFormContainer object representing the local form container.  
 
OpenPersonalFormContainer
Returns RDOMAPIFormContainer object representing the personal form container.  
 
ResolveMessageClass(MsgClass, ExactMatch, Folder)
Resolves the specified message class (e.g. "IPM.Note") and returns the RDOMAPIFormInfo object representing the MAPI form.

MsgClass -string. The message class to resolve

ExactMatch - variant, optional. If true, looks for an exact match. Defaults to false if not specified.

Folder - variant, optional. If specified, must point to an instance of the RDOFolder object. Defaults to null.
 
SelectForm(Title, Folder, ParentWindow)
Displays the built-in MAPI dialog  to select a form and returns the RDOMAPIFormInfo object representing the selected MAPI form.

Title - variant, optional.  If specified, the custom dialog to be displayed by the dialog.

Folder - variant, optional. If specified, only the forms installed in the folder are shown,.

ParentWindow - variant, optional. If specified, the parent window of the dialog. Can be an HWND or an object exposing the IOleWindow interface, such as Explorer or Inspector objects from the Outlook Object Model.
SelectForm
SelectFormContainer(ParentWindow, Flags)
Displays the built-in MAPI dialog  to select a form container and returns the RDOMAPIFormContainer object representing the selected MAPI container.

ParentWindow - variant, optional. If specified, the parent window of the dialog. Can be an HWND or an object exposing the IOleWindow interface, such as Explorer or Inspector objects from the Outlook Object Model.

Flags - variant. optional. If specified, can be one of the following constants. If not specified, defaults to MAPIFORM_SELECT_ALL_REGISTRIES.

MAPIFORM_SELECT_ALL_REGISTRIES = 0
MAPIFORM_SELECT_FOLDER_REGISTRY_ONLY = 1
MAPIFORM_SELECT_NON_FOLDER_REGISTRY_ONLY = 2
SelectFormContainer