Summary of ActiveX Control registration

Source: Internet
Author: User
Technorati label: ActiveX control, control registration

      Copyright Notice: Can be reproduced at will.Hyperlink formMark as followsArticleOriginal Source and author information andThis statement

      Author: Xixi

      Source: http://blog.csdn.net/slowgrace/archive/2008/12/15/3521857.aspx

1. ActiveX controls must meet the following requirements before use:

      • The corresponding ocx file exists on the hard disk;
      • And already registered

2. If the preceding two conditions are not met, the following error message may be prompted during use:

      • You are not authorized to use the ActiveX control;
      • OLE server not registered;

3. Do not worry about these situations. follow these steps:

(1) determine the name of the ocx file corresponding to the control to be used. Try the following method:

      • Go to the Internet to find the control name
      • Go to the Registry and find the control name or class name.

(2) If the ocx file does not exist on the hard disk, download it online and copy it to the C:/Windows/system32 directory.

(3) register this control. You can choose one of the following three methods (if one method is unavailable, try another method ):

      • Import Control registration information vb6controls. Reg
      • Enter regsvr32/s msdatgrd. ocx at the command prompt.
      • In access, register with tools, ActiveX controls, and

Note that the preceding registration operation requires administrator privileges.

4. See the following example:

      1. About ActiveX Control registration 1
      2. About ActiveX Control registration 2
      3. When the control is not found

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.