Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating a component from an activex object

5 views
Skip to first unread message

Glen Welch

unread,
May 20, 2008, 4:37:40 PM5/20/08
to
Delphi 2006.
I have an ActiveX control that I imported by selecting Component Import
component, then selecting activeX, and I had to click on the add button and
the activex control use not listed in the registered list. I then selected
generate component wrappers and created the component.

Added this to a package and installed. The new component now is in my Tool
Pallette. So far so good.
But now if I try and add this to a form in my project I get an error saying
"Class not registered".

I think this is because the activeX component is not registered on my
system. How do I do this or does anyone know what I have done wrong.

Thanks in advance

Glen Welch

unread,
May 20, 2008, 4:53:03 PM5/20/08
to

"Marc Rohloff [TeamB]" <ma...@nospam.marcrohloff.com> wrote in message
news:1ikwgh9h...@dlg.marcrohloff.com...

> On Wed, 21 May 2008 08:37:40 +1200, Glen Welch wrote:
>
>> I think this is because the activeX component is not registered on my
>> system. How do I do this or does anyone know what I have done wrong.
>
> If it is an OCX or DLL call 'regsvr32 whatever.ocx'
>
> --
> Marc Rohloff [TeamB]
> marc -at- marc rohloff -dot- com

Thnks Marc - working now

Marc Rohloff [TeamB]

unread,
May 20, 2008, 4:43:51 PM5/20/08
to
On Wed, 21 May 2008 08:37:40 +1200, Glen Welch wrote:

> I think this is because the activeX component is not registered on my
> system. How do I do this or does anyone know what I have done wrong.

If it is an OCX or DLL call 'regsvr32 whatever.ocx'

0 new messages