Share via


clsid Attribute

Specifies the COM class ID (CLSID) of an ActiveX control.

Type

  xsd:string

Parent Elements

Element Description
allowedControl Specifies the ActiveX controls that are allowed to be instantiated.

Definition

  <xsd:attribute name="clsid" type="xsd:string" use="required" ></xsd:attribute>

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. If an ActiveX control with this CLSID is not present on the system and can't be installed, the form will not open.

Example

The following is an example of the clsid attribute as it is used in the allowedControl element:

  <xsf:permissions>
  <xsf:allowedControl 
        cabFile="{84F32C01-78D8-4B93-8ED4-106DA70224C2}.cab” 
        clsid="{84F32C01-78D8-4B93-8ED4-106DA70224C2}" 
        version="1,0,0,1" />
  <xsf:allowedControl 
        clsid="{F08DF954-8592-11D1-B16A-00C0F0283630}" />
</xsf:permissions>