This documentation is archived and is not being maintained.

cabFile Attribute

Office 2003

Specifies the name of the CAB file.



Parent Elements

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


    <xsd:attribute name="cabFile" type="xsd:string" use="optional" ></xsd:attribute>


The cabFile attribute must refer to a file within the InfoPath package. If the cabFile attribute is not specified, the control must already be registered on the local computer or the form will not open.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.


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

        version="1,0,0,1" />
        clsid="{F08DF954-8592-11D1-B16A-00C0F0283630}" />

Parent Objects | allowedControl Element