Board index » cppbuilder » Getting components to appear in C++Builder 2006 tool palette

Getting components to appear in C++Builder 2006 tool palette


2006-01-20 02:17:28 AM
cppbuilder103
I have successfully compiled and installed the open source TurboPower
AsyncPro into Borland Developer Studio 2006. I compiled both the runtime
and design time packages with the "Create C++Builder files" option checked
in both builds.
The components are visible in the tool palette in the Delphi personality but
not in the Builder personality. If I pull down the Componant->Install
packages menu I can see the AsnycPro library listed from Builder but I
cannot figure how to get them to display in the tool palette.
IS THERE ANY DOCUMENTATION FROM BORLAND ON HOW TO DO THIS???
It is very frustrating to be spinning my wheels trying to get 3rd party
components installed each time I upgrade a C++ Builder upgrade and BDS2006
seems even less intuitive.
Thanks in advance.
Tom Althoff
Disney/ABC-TV
 
 

Re:Getting components to appear in C++Builder 2006 tool palette

Tom Althoff wrote:
Quote
I have successfully compiled and installed the open source TurboPower
AsyncPro into Borland Developer Studio 2006. I compiled both the runtime
and design time packages with the "Create C++Builder files" option checked
in both builds.

The components are visible in the tool palette in the Delphi personality but
not in the Builder personality. If I pull down the Componant->Install
packages menu I can see the AsnycPro library listed from Builder but I
cannot figure how to get them to display in the tool palette.

IS THERE ANY DOCUMENTATION FROM BORLAND ON HOW TO DO THIS???

It is very frustrating to be spinning my wheels trying to get 3rd party
components installed each time I upgrade a C++ Builder upgrade and BDS2006
seems even less intuitive.

Thanks in advance.

Tom Althoff
Disney/ABC-TV


The packages that the C++ personality displays are in the registry:
HKEY_CURRENT_USER \ Software \ Borland \ BDS \ 4.0 \Known Packages. For
instance I have BDS 2006 installed in the directory c:\bds2006 and have
installed TeeChart Pro 7 Components. In the Known Packages registry key
mentioned I see an entry named
c:\bds2006\TeeChart\Delphi10\Bin\DclTeePro710.bpl of type REG_SZ with
the value "TeeChart Pro 7 Components". Do you see a registry entry for
AsyncPro? You could email the AsynPro bpl files to me and I could try
to install them in my copy of BDS 2006. I downloaded the AsyncPro code
from sourceforge.net but did not want to mess with trying to compile the
packages.
Danzer
 

Re:Getting components to appear in C++Builder 2006 tool palette

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
Quote
The components are visible in the tool palette in the
Delphi personality but not in the Builder personality.
What are the EXACT steps you took? I had no troubles writing a new
component that appears under both Delphi and C++ using the "Create all
C++Builder files" option.
Quote
If I pull down the Componant->Install packages menu I
can see the AsnycPro library listed from Builder but I cannot
figure how to get them to display in the tool palette.
In that dialog, if you click on the "Components" button, do you actually see
the components in the package?
Quote
IS THERE ANY DOCUMENTATION FROM BORLAND ON HOW TO DO THIS???
Did you read the help file yet? There is a lot of documentation provided
with BDS, and there are sections on creating and installing component
packages.
Quote
It is very frustrating to be spinning my wheels trying to get 3rd party
components installed each time I upgrade a C++ Builder upgrade
and BDS2006 seems even less intuitive.
Actually, it is supposed to be alot easier in BDS than in earlier versions
of BCB, since the packages can be shared now.
Gambit
 

{smallsort}

Re:Getting components to appear in C++Builder 2006 tool palette

Hello Remy!
Quote
What are the EXACT steps you took? I had no troubles writing a new
component that appears under both Delphi and C++ using the "Create all
C++Builder files" option.
In the Delphi mode:
File->Open->A407_R100.bdsproj
Right clicked on A407_R100.bdsproj in Project Manager window, selected
Options, selected "Create all C++ Builder files", right clicked again on
A407_R100.bdsproj, selected compile..no errors.
File->Open->A407_D100.bdsproj
Right clicked on A407_D100.bdsproj in Project Manager window, selected
Options, selected "Create all C++ Builder files", right clicked again on
A407_D100.bdsproj, selected compile..no errors.
Right clicked on A407_D100.bdsproj, selected "Install". Message listing
the dozens of components added.
File->New->VCL Forms Delphi Win32 application
Opened Tool palette...see tabs for various parts of AsyncPro, Tapi etc.
Quote
In that dialog, if you click on the "Components" button, do you actually
see
the components in the package?
Yes..they are all there in both Delphi and Builder modes.
Quote
Did you read the help file yet? There is a lot of documentation provided
with BDS, and there are sections on creating and installing component
packages.
In Builder mode, Help->Borland Help
When I searched for "Adding components to tool palette" I got these:
Customized Components In addition to the components that are installed with
Developer Studio 2006, you can add customized or third party components to
the Tool Palette and save them in their own category.
and
To add additional categories
1.. Right-click the Tool Palette.
2.. Choose the Add New Category command.
The Create a new Category dialog box appears.
3.. Enter a name for the category in the New Category Name text box.
4.. Click OK.
The new category appears at the bottom of the Tool Palette. (new
category...not new components..TA)
And the only entry I've found so far for adding components is:
Installing Custom Components To install custom components
1.. Choose ComponentInstalled .NET Components.
2.. Click Select an Assembly.
3.. Navigate to the folder containing the component assembly.
Alternatively, you can enter the name of the full path to the assembly in
the File Name field.
4.. Select the assembly.
5.. Click Open.
The Installed .NET Components dialog box displays the components from the
assembly.
6.. Verify that the components you want to install on the Tool Palette are
checked.
7.. Click OK.
Which only seems to be for .NET components.
One thing I've learned...if I can purchase an ActiveX componant vs a VCL
that the ActiveX can be installed in any version of C++Builder but VCL
installers are version specific. When TurboPower went belly up I decided
ActiveX was the way to go. But I love the AsyncPro VCL comonents and have
a lot of legacy code I need to port.
I sure wish I had a paper manual....I'd love to spend the night flipping
through it in bed. Can't take the laptop.
I'll do some more reading of the help instead of searching to see if I am
missing something obvious.
Thanks again.
Tom
 

Re:Getting components to appear in C++Builder 2006 tool palette

Quote
The packages that the C++ personality displays are in the registry:
HKEY_CURRENT_USER \ Software \ Borland \ BDS \ 4.0 \Known Packages. For
instance I have BDS 2006 installed in the directory c:\bds2006 and have
installed TeeChart Pro 7 Components. In the Known Packages registry key
mentioned I see an entry named
c:\bds2006\TeeChart\Delphi10\Bin\DclTeePro710.bpl of type REG_SZ with
the value "TeeChart Pro 7 Components". Do you see a registry entry for
AsyncPro? You could email the AsynPro bpl files to me and I could try
to install them in my copy of BDS 2006. I downloaded the AsyncPro code
from sourceforge.net but did not want to mess with trying to compile the
packages.
Yes...the registry entry for AsyncPro is there. Do you need just the
runtime and designtime .bpl's and no .dcp?
If you don't mind trying it on your system (wow..are YOU brave!!!) I'll
e-mail them to you tonight.
Thanks Danzer!
Tom
 

Re:Getting components to appear in C++Builder 2006 tool palette

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
Quote
File->Open->A407_R100.bdsproj
<snip>
File->Open->A407_D100.bdsproj
Are those native BDS2006 files, or are you importing files from an older BDS
version?
Quote
File->New->VCL Forms Delphi Win32 application
Opened Tool palette...see tabs for various parts of AsyncPro, Tapi etc.
What did you do on the C++ side?
Quote
Yes..they are all there in both Delphi and Builder modes.
Then you should be seeing the components in the C++ Tool Palette.
Quote
One thing I've learned...if I can purchase an ActiveX componant vs
a VCL that the ActiveX can be installed in any version of C++Builder
but VCL installers are version specific.
Only the project files are version-specific. Source code is not (unless it
uses version-specific features, that is). Components can be ported from
version to version, if set up properly.
Gambit
 

Re:Getting components to appear in C++Builder 2006 tool palette

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
Quote
Yes..they are all there in both Delphi and Builder modes.
When you load a C++ project, did you verify that its Options contain the
packages? It is one thing to have the pacakges installed into the IDE, but
each individual project is also responsible for loading packages as well.
If the packages are not part of the actual project, then the IDE won't know
about them while the project is active. That rule applies to earlier
versions of BCB as well.
Gambit
 

Re:Getting components to appear in C++Builder 2006 tool palette

Remy...they are native BDS2006 files released in December 2005 on
Sourceforge specifically for BDS2006.
I did NOTHING on the C++ side (LOL). I haven't a clue what to do next. I
think that is where my problem lies! 8-)
Yes, that is true..with the source I could re-compile componants from
Builder 3, 4, 5 or 6. I was referring to the installation .exe supplied by
the vendor as being version specific which made adding a package painless
and transparent during the install procedure. Also ActiveX can be used in
Visual Studio projects whereas VCL is tied to Borland.
I appreciate everyone's help...especially Team Borland folks. I'm not a
newby with Builder...but boy oh boy do I feel like one now!
I got my head handed to me over the BuilderX purchase and I am very skittish
about mentioning C++ Builder in mixed company with the official Disney
Corporate VB staff.
Tom Althoff
Sr. Staff Enginneer
Disney/ABC-TV, NYC, NY
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
news:43d009ba$ XXXX@XXXXX.COM ...

>File->Open->A407_R100.bdsproj
<snip>
>File->Open->A407_D100.bdsproj

Are those native BDS2006 files, or are you importing files from an older
BDS
version?

>File->New->VCL Forms Delphi Win32 application
>Opened Tool palette...see tabs for various parts of AsyncPro, Tapi etc.

What did you do on the C++ side?

>Yes..they are all there in both Delphi and Builder modes.

Then you should be seeing the components in the C++ Tool Palette.

>One thing I've learned...if I can purchase an ActiveX componant vs
>a VCL that the ActiveX can be installed in any version of C++Builder
>but VCL installers are version specific.

Only the project files are version-specific. Source code is not (unless
it
uses version-specific features, that is). Components can be ported from
version to version, if set up properly.


Gambit


 

Re:Getting components to appear in C++Builder 2006 tool palette

Uh-oh! Let me check THAT out!
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
news:43d009ba$ XXXX@XXXXX.COM ...

>Yes..they are all there in both Delphi and Builder modes.

When you load a C++ project, did you verify that its Options contain the
packages? It is one thing to have the pacakges installed into the IDE,
but
each individual project is also responsible for loading packages as well.
If the packages are not part of the actual project, then the IDE won't
know
about them while the project is active. That rule applies to earlier
versions of BCB as well.


Gambit


 

Re:Getting components to appear in C++Builder 2006 tool palette

Yes...they are there in the project package listing. I even did a "Reset
Palette" thinking perhaps I'd hidden something along the way.
I notice now that I do not have an ActiveX tab in the tool palette..... I
hope the palette is not corrupted somehow.
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
news:43d009ba$ XXXX@XXXXX.COM ...

>Yes..they are all there in both Delphi and Builder modes.

When you load a C++ project, did you verify that its Options contain the
packages? It is one thing to have the pacakges installed into the IDE,
but
each individual project is also responsible for loading packages as well.
If the packages are not part of the actual project, then the IDE won't
know
about them while the project is active. That rule applies to earlier
versions of BCB as well.


Gambit


 

Re:Getting components to appear in C++Builder 2006 tool palette

Did you install it first and then find it wasn't present in C++
and so used the Generate C++ check box and installed it
again? You MUST uninstall the component first and then do
the full install afterwards or it will be ignored.
HTH Pete
"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
Quote
Yes...they are there in the project package listing. I even did a "Reset
Palette" thinking perhaps I'd hidden something along the way.

I notice now that I do not have an ActiveX tab in the tool palette..... I
hope the palette is not corrupted somehow.


"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
news:43d00dc5$ XXXX@XXXXX.COM ...
>
>"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
>news:43d009ba$ XXXX@XXXXX.COM ...
>
>>Yes..they are all there in both Delphi and Builder modes.
>
>When you load a C++ project, did you verify that its Options contain the
>packages? It is one thing to have the pacakges installed into the IDE,
but
>each individual project is also responsible for loading packages as well.
>If the packages are not part of the actual project, then the IDE won't
know
>about them while the project is active. That rule applies to earlier
>versions of BCB as well.
>
>
>Gambit
>
>


 

Re:Getting components to appear in C++Builder 2006 tool palette

Apparantly I ***MUST*** uninstall the componant first! LOL.
Problem solved! Thanks to you both (Pete and Remy).
Now to face the learning curve of the new IDE followed by that aching
decision "Do I try to learn C# too or just stay within the comfort of C++
Builder?"
Tom
"Pete Fraser" < XXXX@XXXXX.COM >wrote in
message news: XXXX@XXXXX.COM ...
Quote
Did you install it first and then find it wasn't present in C++
and so used the Generate C++ check box and installed it
again? You MUST uninstall the component first and then do
the full install afterwards or it will be ignored.
HTH Pete

"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
news:43d01096$ XXXX@XXXXX.COM ...
>Yes...they are there in the project package listing. I even did a
"Reset
>Palette" thinking perhaps I'd hidden something along the way.
>
>I notice now that I do not have an ActiveX tab in the tool palette.....
I
>hope the palette is not corrupted somehow.
>
>
>"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
>news:43d00dc5$ XXXX@XXXXX.COM ...
>>
>>"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
>>news:43d009ba$ XXXX@XXXXX.COM ...
>>
>>>Yes..they are all there in both Delphi and Builder modes.
>>
>>When you load a C++ project, did you verify that its Options contain
the
>>packages? It is one thing to have the pacakges installed into the IDE,
>but
>>each individual project is also responsible for loading packages as
well.
>>If the packages are not part of the actual project, then the IDE won't
>know
>>about them while the project is active. That rule applies to earlier
>>versions of BCB as well.
>>
>>
>>Gambit
>>
>>
>
>


 

Re:Getting components to appear in C++Builder 2006 tool palette

Sorry, can't help you with that one :)
Pete
"Tom Althoff" < XXXX@XXXXX.COM >wrote in message
Quote
Now to face the learning curve of the new IDE followed by that aching
decision "Do I try to learn C# too or just stay within the comfort of C++
Builder?"
 

Re:Getting components to appear in C++Builder 2006 tool palette

Quote

Yes...the registry entry for AsyncPro is there. Do you need just the
runtime and designtime .bpl's and no .dcp?

Just the bpl's.
 

Re:Getting components to appear in C++Builder 2006 tool palette

"Pete Fraser" < XXXX@XXXXX.COM >wrote in
message news: XXXX@XXXXX.COM ...
Quote
You MUST uninstall the component first and then do
the full install afterwards or it will be ignored.
HTH Pete
Sounds like one for QC!
I'd tripped over it myself, but forgot. The bizarre thing is if you have a
form with a 'missing' component already on it, and you've half-sucessfully
installed the package (ie without an uninstall), you can open the form and
visually edit the components without a problem. They just aren't in the tool
palette.
- Roddy