Link to home
Create AccountLog in
Avatar of Roger Alcindor
Roger Alcindor

asked on

Problem Importing ActiveX controls in CodeGear RAD Studio 2007

I have just purchased as new and installed Codegear RAD studio 2007.
I am using the C++Builder 2007 part of the suite.

I have installed a third party ActiveX control on the PCand have
subsequently imported the same activeX control in C++Builder 2007.
During the process, a small form pops up and indicates that the control will
be placed in the ActiveX section of the tools palette.
I then proceed and no such control appears and neither is there an ActiveX
section in the tools palette ?

I have previously imorted this same control without any problems in BCB5 and
BCB6.

No errors are reported.

Any ideas ?
Are there any activeX controls available that I can use to test the system
to see if the problem is with tha activeX control or with the RAD studio ?

Thanks,
Roger
Avatar of George Tokas
George Tokas
Flag of Greece image

The tool palette is configurable...
The ActiveX section maybe isn't visible by default...
Check out also if the palette has added the new component, the equal of Component|Configure Palette from BCB5,6...

George Tokas.
Avatar of Roger Alcindor
Roger Alcindor

ASKER

I have this morning received the following information from Codegear support team which answers my question. I have not tested it yet :-

RAD Studio no longer contains the custom control import wizard that was in previous version
of Delphi. You will need to add your custom controls to a Delphi/C++Builder Package and then
install that package to the Component Palette. We provide a blank package called dcluser.dpk
in the Rad Studio \LIB directory (this was the default package that the old Delphi wizard
installed components into). These steps should allow you to install your components:

1) File | Open dclusr.bdsproj in your <RAD Studio>\lib directory or File | New | Package and create your own.
2) Right click on the contains folder of the package in the Project Manager, select Add, and browse to and select your

component.
3) Repeat step 2 for each custom component
4) Right click on the package in the Project Manager and choose Build
5) Right click on the package in the Project Manager and choose Install
 
Thanks for your input in any case.

Roger

The Codegear support answer didn't work in C++ Builder, only in Delphi ?
Waiting a reply from them. Will post advice when (if ?) it gets been resolved.
Still open to comments here of course.

Roger
ASKER CERTIFIED SOLUTION
Avatar of kode99
kode99

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
The issue was resolved eventually by codegear support.
The final comment that I submitted to codegear was as follows:-

I had to make a new package and add the activeX into the contains folder, build the package and then install it. This however did not place the controls in the tools pallette. I then had to run the import active X control wizard (the one you said did not exist). This added components to the package and then I re-built the package and intalled it.