IsActiveXReg
- Last UpdatedOct 29, 2026
- 1 minute read
Determines whether an ActiveX control is registered with the operating system.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
IsActiveXReg |
System Info |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Supported |
Not 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 |