Customizer's Guide > Working with ActiveX Controls > Executing ActiveX Controls Using the .dcf File to Bind to an Element dDrectly > Example: Calendar Control
  
Example: Calendar Control
This example illustrates how to associate an ActiveX control with an element. Specifically, this example gives a means of entering dates into a document using the Microsoft Calendar Control.
The following files support this example and are available at the following locations:
Arbortext-path\samples\activex\date.js
A JScript sample file that associates the Microsoft Calendar Control with the <date> element for the Arbortext XML DocBook (axdocbook) DTD. The script handles all communication between the XML element and the control.
Arbortext-path\samples\activex\date.vbs
A VBScript version of date.js