Register ActiveX two method (turn)

Source: Internet
Author: User
The person who uses Windows must not be unfamiliar with ActiveX control, which provides a call similar to DLL's dynamic-link library, but the only difference from a DLL is that ActiveX registration cannot be recognized and used by the system. So what happens when we get a message that ActiveX is not properly installed and cannot be used?
1. Regsvr32 Procedure Law
There is a regsvr32 under Windows system folder. EXE, which is the ActiveX registration and anti-registration tool that Windows itself brings. It also makes it easy to register the Acitvex control with the following usage:
Regsvr32/u/s/n/icmdlinedllname
Where Dllname is an ActiveX control file name, it is recommended to copy it to the System folder before installation
Parameters have the following meanings:
/U-Anti-register control
/S-No prompt box is displayed regardless of registration success
/C-Console output
/I-Skip control options for installation (different from registration)
/n-does not register the control, this option must be used with the/I option
For example, I want to register a amovie. OCX control, then enter Regsvr32 amovie. OCX can be, to reverse register it just use regsvr32/u amovie. OCX on the line.
2. Registration Form Method
The so-called registration Acitvex, nothing more than to record some information in the Windows registry, such as Shockwave Flash Object control, we can run regedit. EXE Registry Editor, use the keyword search, and then the search after the registry to export to a reg registry file, and then copy their corresponding ActiveX files to the Windows System folder (general ActiveX file name is OCX, Installed in the Windows System folder), finally, on the machine where you want to install ActiveX, double-click the Import registry file you just exported to complete the installation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.