Solved

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

Posted on 2004-10-17
4
234 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
4 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 250 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now