Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Rotated Label - How do I include it in my Project ?

edited September 2001 in General
Hi there,

I have a problem using the Rotated Label Component in Reportbuilder.
In DesignTime I have the component displayed in reportbuilder´s designer
toolbar.
When I run the application the component isn´t there.

If I use project options / packages and put in
BuilderControlsPackage.bpl as the only package.(I never used runtime
packages, so why use other packages) and in my source code I load it
with LoadPackage('BuilderControlsPackage.bpl') the components are there
in the designer at runtime.

But:

On my development system all *.bpl are in the Windows\System directory
and I have no problem.
On a "empty" system the bpls: VCL50.bpl, etc. are required for running
the application.
And I don´t want to deploy all these bpls. It would be OK to deploy this
BuilderControlsPackage.bpl with my application.

So my question is:
What am I doing wrong with this runtime package stuff.Which settings
have which effects on deployment.
I know that this is no reportbuilder specific question and a third party
tool as well.
Please help me with this anyway.

Best regards

Matthias Veit

Comments

  • edited September 2001
    The buildercontrols should get built into the exe. You shouldn't have to
    distribute the bpl outside of your exe. The BuilderControlsDesign.dpk
    package that you install, should be a designtime package. When you build
    the exe, your project will look for the created BuilderControls.dcu which is
    created when the package is compiled. For example, you can compile and
    install the BuidlerControlsDesign package into delphi, and it will create
    the BuilderControls.dcu, BuilderControsReg.dcu and BuilderControls.res in
    your C:\Program Files\RotatedLabel\Sources\. You can copy these into
    RBuilder\Lib and when you compile, the project will look for
    BuilderControls.dcu and it will find it in the RBuilder\Lib directory and
    you won't need to deal with any runtime package problems.

    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    I used this component in earlier versions of our product, I now have
    upgraded to
    RB Enterprise v6.x and the component no longer installs at all.

    When I try to install the design time package I get the message from Delphi:
    Cannot load package
    c:\program
    files\borland\delphi5\projects\bpl\BuilderControlsPackageDesign.BPL
    A device attached to the system is not functioning

    Report Builder 6.x runs fine, what is happening?

    Thanks,

    --
    Justin Heasman
    Software Development Manager
    Office Mobile Solutions Ltd.
    ---
    E: justin@officemobilesolutions.com
    W: www.officemobilesolutions.com


  • edited October 2001
    I've never received the 'device not functioning' message when installing
    packages. Check to make sure that the old package is uninstalled from
    Delphi before the new one is installed.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.