ActiveX controls are Microsoft Windows objects used to add advanced capabilities to a web browser or a Windows application such as Outlook or Access. ActiveX controls are not supported by Chrome or Firefox, but internal company web applications can force users to use Internet Explorer, which supports ActiveX interaction with a user’s desktop.
How to Manually Install an ActiveX Control
Most developers enable ActiveX controls in the installation wizard. However, some developers simply let you download an OCX file. Before you can run an ActiveX control, the OCX file must be installed. Use the following steps to manually install an ActiveX control on your desktop or server:
- Click the Windows “Start” Orb. Type “cmd” into menu text box and press “Enter.”
- Type “regsvr32 ocx_file” and press “Enter.” Replace “ocx_file” with the full path and name of your ActiveX control
var activeX = new ActiveXObject("AcroPDF.PDF "); if (activex == null) document.write (“The ActiveX object is NOT installed.”); }
This code is typically placed at the beginning of the web page in the Javscript “script” tags. It is a quick and easy way to avoid errors on your web pages, and the frustration of users who are unable to get the advanced functions on your pages to work properly.