allowedControl Element
Specifies the ActiveX controls that are allowed to be instantiated.
Type
|
Child Elements
None.
Attributes
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
cabFile |
|
No | Specifies the name of the CAB file. | string |
|
||||
clsid |
|
Yes | Specifies the CLSID (COM class ID) of the ActiveX control. | string |
|
||||
version |
|
No | Specifies the ActiveX control version number. | string |
|
Definition
|
Remarks
When the view contains an OBJECT tag, the control will be instantiated only if the CLSID is listed as an allowedControl element in the permissions element. Controls other than those corresponding to the CLSIDs listed in the permissions element are not allowed to be instantiated in the view.
If an ActiveX control listed in the permissions element is not installed (that is, if a CLSID of a control is not registered), or if an earlier version of the control than that version specified in the permissions element is the only version installed, then the required CAB files will be installed. If the CAB files are not included, or if the installation is stopped, the form will not open.
Example
The following is an example of the allowedControl element:
|