The CommonDialog control is a licensed control that ships with Visual Basic (VB) 5.0. Only developers with a valid design-time license for the control may distribute the control for use in their applications or on their Web sites. The control and design-time license can be obtained by downloading the VB 5.0 Control Creation Edition (VBCCE), purchasing VB 5.0, or purchasing Visual InterDev.
In order to use the control in a Web page, a license package file (.lpk file) for the control must be created. This .lpk file is then referenced by the Web page. If there are multiple licensed controls on a page, a single .lpk file must be created for all of them.
Microsoft provides a signed .cab file, which can be referenced to install the CommonDialog control. If this .cab file is used, a Web page that uses the control would look similar to the following:
<PARAM NAME="LPKPath" VALUE="comdlg.lpk">
<OBJECT ID="CommonDialog1" WIDTH=32 HEIGHT=32