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

Importing ActiveX (.ocx), Missing Control

39 views
Skip to first unread message

surfbored

unread,
Aug 1, 2008, 1:27:56 PM8/1/08
to
I'm having trouble importing an ActiveX control in Delphi 2005. Perhaps I'm
missing a step?

Here's what I'm doing:
1. Component/Import Component
2. Select "Import ActiveX Control" radio button, click next
3. Select "DSO ActiveX Document Framer Control", click next
4. Select Palette Page (ActiveX), click next
5. Select "Create Unit" or "Add Unit" radio button, click finish

The type library seems to be added correctly (I see the DSOFramer_TLB unit),
but the control does not get added to the tool palette.

What the heck am I forgetting to do?

Thanks,

SB

Marc Rohloff [TeamB]

unread,
Aug 1, 2008, 1:57:06 PM8/1/08
to
On Fri, 1 Aug 2008 13:27:56 -0400, surfbored wrote:

> The type library seems to be added correctly (I see the DSOFramer_TLB unit),
> but the control does not get added to the tool palette.
>
> What the heck am I forgetting to do?

You need to add the unit to a package and then compile and install the
package.

--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com

surfbored

unread,
Aug 1, 2008, 2:48:09 PM8/1/08
to
Oh, can you point me to instructions for doing so?

Thanks!

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

Marc Rohloff [TeamB]

unread,
Aug 1, 2008, 3:15:50 PM8/1/08
to
On Fri, 1 Aug 2008 14:48:09 -0400, surfbored wrote:

> Oh, can you point me to instructions for doing so?

Off the top of my head:

* Choose File\Open Project and select packages from the file type:
* Browse to C:\Program Files\Borland\RAD Studio\3.0\lib
(Or whatever it was) and open dclusr.dpk
* Click the 'Add' button and add your new unit
* Right click on the package in the project manager and 'Compile'
* Right click on the package in the project manager and 'Install'

surfbored

unread,
Aug 1, 2008, 6:03:48 PM8/1/08
to
Thanks Marc, your memory appears to be in tact!

There's one thing however, the control must be added to the palette each
time I start up Delphi. Is there a way to keep it on the palette
permanently?

Thank you again,

SB


"Marc Rohloff [TeamB]" <ma...@nospam.marcrohloff.com> wrote in message

news:s9kbjs76...@dlg.marcrohloff.com...

Marc Rohloff [TeamB]

unread,
Aug 4, 2008, 9:13:40 AM8/4/08
to
On Fri, 1 Aug 2008 18:03:48 -0400, surfbored wrote:

> There's one thing however, the control must be added to the palette each
> time I start up Delphi. Is there a way to keep it on the palette
> permanently?

IIRC this has something to do with Delphi not being able to find the
package when it starts. You could try copying the bpl file to
somewhere Delphi can find it like the bin directory and installing it
via Component/Install Packages.

0 new messages