Xbasic
A5_AXCONTROL_AVAILABLE Function
Syntax
Result_Flag as L = a5_axcontrol_available(C ProgID )
Arguments
- ProgID
The name of the ActiveX control. Character
Returns
- Result_FlagLogical
.T. = ActiveX control is installed and registered. .F. = ActiveX control is not installed or installed and not registered.
Description
The A5_AXCONTROL_AVAILABLE() function tests to see if the ActiveX control specified by ProgID is installed and registered on the current computer.
Example
?a5_axcontrol_available("shell.explorer") = .T. ?a5_axcontrol_available("SimpleChartLite.PieChartGenerator") = .T. ?a5_axcontrol_available("SimpleChart.PieChartGenerator") = .F.
See Also