.OCX File Extension
3.9 | 143 Votes
What is an OCX file?
An OCX file contains a reusable software module, called an ActiveX control, which can be used within Windows software programs. ActiveX controls can be created for various purposes, such as user interface forms, webpage widgets, online games, and multimedia viewers.
Many OCX files are included with Windows while others are distributed by software installers. In order for a software program to use an ActiveX control, the control must first be registered in Windows with Regsvr32.exe. Therefore, software installers may include ActiveX control registration as a final step in the installation process.
Software developers create ActiveX controls with tools such as Microsoft Visual Studio using programming languages such as Visual Basic and C++. When packaging a control, developers define properties, methods, and events for the control according to Microsoft's Component Object Model (COM) specification. The resulting definition can be accessed by other software programs as long as the control is first registered in Windows.
NOTE: ActiveX is not commonly used anymore for developing and distributing software modules, but ActiveX controls are still supported in Windows 10 via Internet Explorer 11 and manual registration.
Common OCX Filenames
mscomctl.ocx - Contains an update of common controls for Microsoft Visual Basic 6.0.
Flash.ocx - Contains the Adobe Flash Player which is used in older versions of Internet Explorer.