You are here: Reference > JavaScript > client-side > ActiveX

ActiveX objects in JavaScript

Object Support Description
ActiveXObject
The ActiveXObject object is used to create instances of OLE Automation objects in Internet Explorer on Windows operating systems.
GeckoActiveXObject
2.0
Creates an instance of an ActiveX object in Gecko based browsers.

Dialog Helper ActiveX elements:

Related objects:
Object Support Description
blockFormats
Represents a collection of available block format tags.
fonts
Represents a collection of all available fonts in the current system.
HtmlDlgSafeHelper
This object is an ActiveX object that provides access to some system information and common dialogs on Windows.
Related properties:
Property Support Description
Count
(blockFormats)
Returns an integer that specifies the number of available block format tags.
Count
(fonts)
Returns an integer that specifies the number of available fonts.
Related methods:
Method Support Description
ChooseColorDlg
(HtmlDlgSafeHelper)
Displays the standard Windows Color dialog box in Internet Explorer.
getCharset
(HtmlDlgSafeHelper)
Returns the default character set (code page) of the given font in Internet Explorer on Windows.
item
(blockFormats)
Returns the name of a block format tag by index.
item
(fonts)
Returns the name of a font by index.

ActiveX Data Objects (ADO) handling in JavaScript:

Related objects:
Object Support Description
recordset
Represents a set of data from a data source object.
Related properties:
Property Support Description
dataFld
Specifies or returns which field of a given data source should be bound to the specified object.
dataFormatAs
Specifies or returns how data is to be rendered.
dataPageSize
(table)
Sets or retrieves the number of records that can be displayed in a table when data binding is used.
dataSrc
Sets or retrieves the identifier of the data source that is bound to the element.
recordNumber
Returns an integer value that indicates the ordinal position of the item within the data set that generated the current object.
Related methods:
Method Support Description
firstPage
(table)
Displays the first page of records from the data set that the current table object is bound to.
lastPage
(table)
Displays the last page of records from the data set that the current table object is bound to.
namedRecordset
(applet, object, xml)
Returns a recordset object that represents the records of the specified data member from a data source object.
nextPage
(table)
Displays the next page of records from the data set that the current table object is bound to.
previousPage
(table)
Displays the previous page of records from the data set that the current table object is bound to.
User Contributed Comments

Post Content

Post Content