When you compile an ActiveX control project, it is compiled as a file with an .OCX extension. Each custom control added to the project is saved as a file with the extension .CTL. If you’ve created your ActiveX control as part of an existing project, like a standard EXE, the CTL file is included as part of your EXE or DLL project.