?
Solved

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

Posted on 2004-10-17
4
Medium Priority
?
242 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

771 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