Share

BrowserPanes.AddByManifest Method

Parent Object: BrowserPanes

Description

Method that creates and returns a new BrowserPane object. The BrowserPane created is one that is explicitly used to house un-registered ActiveX Controls.

Syntax

BrowserPanes.AddByManifest( Name As String, InternalName As String, ManifestFileName As String ) As BrowserPane

Parameters

Name Type Description
Name String Input string that specifies the name of the browser pane. This is the name that will be displayed to the user. And thus is expected to be localized. The name must be unique with respect to the other browser panes currently created for the document. It can be changed, programmatically, at any time. It may also be used to index into the BrowserPanes collection.
InternalName String Input string that uniquely identifies the application. Suggestions are to use the 'ProgID' of the Add-In creating the pane or its CLSID in a string form, e.g. "{C9A6C580-3817-11D0-BE4E-080036E87B02}", although any unique string is valid. If the Add-In is going to create more than one such pane, you would want to further qualify the string by appending a suffix to the CLSID, say "{}:0" and "{}:1", etc.
ManifestFileName String Input the full filename of the manifest which defines the information of an un-registered ActiveX control.

Sample manifest can be like below:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<file name = "x64\SimpleMFCControl.ocx">
<typelib tlbid="{E230D8E9-C189-49AA-A932-01B5F43507EB}" version="1.0" helpdir=""/>
<comClass progid = "SIMPLEMFCCONTROL.SIMPLEMFCCONTROLCtrl.1" clsid="{50CCD357-FA53-42B6-8B06-C5D6AB37CDBF}" threadingModel = "Apartment"/>
</file>
 <comInterfaceExternalProxyStub name="_DSIMPLEMFCCONTROLEvents" iid="{B1A2EFBE-A44E-4A40-A4CA-801685A6A624}" tlbid="{E230D8E9-C189-49AA-A932-01B5F43507EB}" proxyStubClsid32="{00020420-0000-0000-C000-000000000046}"/>
 <comInterfaceExternalProxyStub name="_DSIMPLEMFCCONTROL" iid="{EA9F39CD-0356-4F7C-8DA8-DE913DB64D99}" tlbid="{E230D8E9-C189-49AA-A932-01B5F43507EB}" proxyStubClsid32="{00020420-0000-0000-C000-000000000046}"/>
</assembly>

Version

Introduced in version 2017

Was this information helpful?