[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Delphi 8 - "Failed to add a reference to ActiveX library"

Posted on 2004-10-17
4
Medium Priority
?
244 Views
Last Modified: 2010-04-05
Hi,
I have my problem with Delphi 8 (Delphi for .NET):
I have an activeX control. I work well with VB6.
But when I used with Delphi 8 (I check the control in Installed Components list).
It always showed the message :
"Failed to add a reference to ActiveX library. Be sure it is properly registered".
And did not allow to use the control
Can you help me to solve the problem.
Thank in advance!

0
Comment
Question by:bufalobk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 1000 total points
ID: 12336818
regsvr32 <ActiveX control>

Where <ActiveX control> is the ActiveX control that you're trying to use. This is the first step you should take, although I expect it's already installed...

Another problem could be that the ActiveX control itself requires yet another ActiveX control and thus the other control cannot be found. Then again, if you use VB6 and Delphi 8 on the same machine and VB6 has no problems with it, then it must be something within .NET that is failing... Why, I don't know though. I do know that the use of ActiveX controls and other non-managed code is discouraged in .NET and not always correctly supported.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question