How to edit an OCX file

Updated July 19, 2017

OCX files are developer files that are mainly associated with ActiveX Controls, which are "small programs sometimes also called 'add-ons,' that are used on the Internet," according to Microsoft Online Safety. Moreover, OCX files contain control behaviours that are activated by program events or users.

You can create, open and edit OCX files with development software such as Microsoft Visual Studio 2010 and Microsoft Visual Basic.

Right click on the OCX file.

Click on "Open With."

Select the "Choose Default Program" option.

Select the development software that you wish to use. (Microsoft Visual Studio 2010 or Microsoft Visual Basic.)

Click on "Browse" only if Windows does not display the software. Search for it and then click on "Open."

Click on "OK." Your OCX file will open.


If, despite having the appropriate software, Windows does not open the file, you must run a registry scan, as your computer's registry might be damaged.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Settled in the U.K., Betshy Paola Sanchez Marrugo is a Colombian woman who has been writing since 2008. Her writing specialties are parenting, computers, the Internet, relationships, nature and health. She writes for sites such as eHow, Answerbag and LIVESTRONG.COM. She was awarded with a writing unit and an ESOL Level 2 Certificate from University of Cambridge.