The first step is to register the ocx control and get the OCX space. First, add the registration, the simplest new reg.txt file. Add RegSvr32 TestOCX. OCX //TestOCX as the control name in txt, save txt, rename it reg.bat, put it in the directory where OCX control is located, and double-click to complete registration. If not, please pay attention to your system environment variable settings. Regsvr32 < file name > registering ActiveX controls
regsvr 32/u & lt; File name > logout ActiveX control Step 2: Load and call a new empty text file on Html and save it as test.html. Edit this file with editplus. Find the object button on the toolbar and insert OCX automatically.