ActiveX control cannot be registered during VB engineering.

Source: Internet
Author: User

ActiveX control cannot be registered during VB engineering.

You must have encountered this problem when working on the VB project. When adding controls to VB, project → parts → browsing. After adding components you need, "*. ocx cannot be registered as ActiveX control. At this time, you may register it with regsvr32, But it prompts "*. loading ocx control failed. No matter whether you put it in system32 or system64 (Win7 64-bit), whether you register it as an administrator or not, the result ...... . It is likely that your system lacks the DLL dynamic link library on which the OCX control depends.

Someone asked, How can I know what DLL files my OCX control depends on? We recommend that you use the Dependency Walker tool.

When you use Dependency Walker to open the OCX control (taking AVPhone3.ocx as an example), for example:

For example, the following MSACM32.DLL, MSVFW32.DLL, and so on are the DLL files it depends on. Which DLL file is missing in your system will turn yellow and there will be a question mark. If so, download the corresponding DLL file and register it. Then, try registering your OCX control. Is it successful!

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.