Solved

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

Posted on 2004-10-17
4
237 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
control image tags in a string ? 12 129
Firemonkey webbrowser scrollbars ? 1 38
CheckListBox usage 3 58
Tvertscrollbox like a whatsapp layout delete messages 1 16
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 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