🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.com.activex.using
6 messages
6 total messages Started by surfbored Fri, 01 Aug 2008 17:27
Importing ActiveX (.ocx), Missing Control
#180
Author: surfbored
Date: Fri, 01 Aug 2008 17:27
18 lines
1409 bytes
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
Re: Importing ActiveX (.ocx), Missing Control
#181
Author: Marc Rohloff [TeamB]
Date: Fri, 01 Aug 2008 17:57
13 lines
1602 bytes
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
Re: Importing ActiveX (.ocx), Missing Control
#182
Author: surfbored
Date: Fri, 01 Aug 2008 18:48
20 lines
1606 bytes
Oh, can you point me to instructions for doing so?

Thanks!

"Marc Rohloff [TeamB]" <marc@nospam.marcrohloff.com> wrote in message 
news:2atc5xbmepcv.dlg@dlg.marcrohloff.com...
> 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 
Re: Importing ActiveX (.ocx), Missing Control
#183
Author: Marc Rohloff [TeamB]
Date: Fri, 01 Aug 2008 19:15
16 lines
1836 bytes
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'

-- 
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
Re: Importing ActiveX (.ocx), Missing Control
#184
Author: surfbored
Date: Fri, 01 Aug 2008 22:03
29 lines
2062 bytes
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]" <marc@nospam.marcrohloff.com> wrote in message 
news:s9kbjs769bau.dlg@dlg.marcrohloff.com...
> 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'
>
> -- 
> Marc Rohloff [TeamB]
> marc -at- marc rohloff -dot- com 
Re: Importing ActiveX (.ocx), Missing Control
#185
Author: Marc Rohloff [TeamB]
Date: Mon, 04 Aug 2008 13:13
14 lines
1863 bytes
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.

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

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads