IsActiveXReg

Determines whether an ActiveX control is registered with the operating system.

Function Group Execution Windows Embedded Thin Client
IsActiveXReg System Info Synchronous Supported Supported Supported

Syntax

IsActiveXReg( numType, strProgIDorFileName )
numType
A numeric flag that specifies a format for the strProgIDorFileName parameter:
0 Verify by Program ID
1 Verify by File Name
strProgIDorFileName
The program ID or file path of the ActiveX control.

Returned value

0 ActiveX is not registered.
1 ActiveX is registered.

Examples

Tag Name Expression
Tag IsActiveXReg( 0, "ISSYMBOL.ISSymbolCtrl.1" ) // Returned value = 0
Tag IsActiveXReg( 1, "C:\WinNT\system32\MediaPlayer.ocx" ) // Returned value = 1