James P. Wright James P. Wright - 5 months ago 7
Javascript Question

Test if an ActiveX control is installed with Javascript?

Is there a way to test if an ActiveX control is installed using Javascript?

Answer
function AXOrNull(progId) {
  try {
    return new ActiveXObject(progId);
  }
  catch (ex) {
    return null;
  }
}
Comments