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

Teechart 9

edited August 2011 in General
(Using Delphi XE, RB12.05) So I've read that I won't be able to use the DB
Chart short of buying Teechart Pro with source (due to needing
TeeStringsEditor.dfm, TeeBackImage.dfm, TeeEmbossEditor.dfm, TeeMargins.dfm,
and TeeMouseCursor.dfm). In using the regular ppChrt, how does one go about
editing the TeeChart at report design time (can it be done through RAP)?

Do all chart settings get saved back to the report file? Is there
documentation somewhere on its usage within Report Builder?
Thank you,
-Steve

Comments

  • edited August 2011
    Hi Steve,

    If you would like to use the standard version of TeeChart shipped with
    Delphi in the runtime designer, you will either need to build your
    application with runtime packages or purchase a registered copy of
    TeeChart from Steema.

    At design time, you can simply right click over a chart on a report and
    select "Edit" or double click the chart to enter the editor.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    Thank you, Nico.

    Can you confirm if I need the Teechart v2011 source code (Pro with Source)
    in order to compile, or will Teechart v2011 Standard work? For that matter,
    will the RB wrapper work with Teechart v2011?

  • edited August 2011
    (That would be in order to release without packages)

  • edited August 2011
    Hi Steve,

    The registered version of Teechart 2011 Standard will work fine. This
    is what I have installed on my machine with Delphi XE.

    If you do end up purchasing TeeChart, you will want to install it, then
    follow the the article below to integrate it with ReportBuilder.

    http://www.digital-metaphors.com/rbWiki/General/Installation/Tech_Tip:_Installing_RB_TeeChart_Supports

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    Hi Nico,

    I've following the instructions at
    http://www.digital-metaphors.com:8080/General/Installation/Tech_Tip:_Installing_RB_TeeChart_Supports
    I'm still hitting an error in attempting to use the ReportBuilder TeeChart9
    components when starting Delphi XE, or manually clicking the checkbox in the
    Install Packages section.
    "The program can't start because Tee9150.bpl is missing from your computer.
    Try reinstalling the program to fix this problem.".

    The two TeeChart packages exist and are loaded in the list of installed
    packages. Tee915.bpl is present (as I've bought the pro version). Is there
    any way to force it to look for Tee915.bpl instead of Tee9150.bpl?

    I've included the result of the RBTeePackageBuilder.exe below.
    Thank you,
    -Steve

    Building ReportBuilder TeeChart Binaries...
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart>set
    PACKSUFFIX="1215"
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart>set
    DCC="C:\Applications\Embarcadero\RAD Studio\8.0\Bin\Dcc32.exe"
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart>set
    SYSTEMDIR="C:\Windows\system32"
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart>cd
    "C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900"
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>C:
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM
    Building dcu's...
    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
    ..\..\Source\ppIfDef.pas . /y
    1 file(s) copied.

    C:\Applications\Embarcadero\RAD
    Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Applications\Embarcadero\RAD
    Studio\8.0\Bin\Dcc32.exe" BuildTee.dpr -B
    Embarcadero Delphi for Win32 compiler version 22.0
    Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
    4130 lines, 0.47 seconds, 4245800 bytes code, 68232 bytes data.

    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM
    Building packages...

    C:\Applications\Embarcadero\RAD
    Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Applications\Embarcadero\RAD
    Studio\8.0\Bin\Dcc32.exe" rbTC"1215".dpk
    Embarcadero Delphi for Win32 compiler version 22.0
    Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
    39 lines, 0.17 seconds, 37176 bytes code, 104 bytes data.

    C:\Applications\Embarcadero\RAD
    Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Applications\Embarcadero\RAD
    Studio\8.0\Bin\Dcc32.exe" rbTCUI"1215".dpk
    Embarcadero Delphi for Win32 compiler version 22.0
    Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
    44 lines, 0.23 seconds, 18660 bytes code, 108 bytes data.

    C:\Applications\Embarcadero\RAD
    Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Applications\Embarcadero\RAD
    Studio\8.0\Bin\Dcc32.exe" rbTDBC"1215".dpk
    Embarcadero Delphi for Win32 compiler version 22.0
    Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
    38 lines, 0.23 seconds, 17012 bytes code, 88 bytes data.

    C:\Applications\Embarcadero\RAD
    Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Applications\Embarcadero\RAD
    Studio\8.0\Bin\Dcc32.exe" dclRBC"1215".dpk
    Embarcadero Delphi for Win32 compiler version 22.0
    Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
    40 lines, 0.27 seconds, 10040 bytes code, 88 bytes data.

    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM
    Copy packages and source

    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
    *.pas ..\..\Source /y
    ppChDPEd.pas
    ppChDPEdDlg.pas
    ppChReg.pas
    ppChrt.pas
    ppChrtDB.pas
    ppChrtDP.pas
    ppChrtUI.pas
    ppIfDef.pas
    ppIfDefTee.pas
    9 file(s) copied.

    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
    *.dpk ..\..\Source /y
    dclRBC1215.dpk
    rbTC1215.dpk
    rbTCUI1215.dpk
    rbTDBC1215.dpk
    4 file(s) copied.

    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
    *.dfm ..\..\Source /y
    ppChDPEdDlg.dfm
    1 file(s) copied.

    C:\Applications\Embarcadero\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
    *.dcu ..\..\Lib /y
    dclRBC1215.dcu
    ppChDPEdDlg.dcu
    ppChReg.dcu
    ppChrt.dcu

  • edited August 2011
    Hi Steve,

    Tee9150.bpl is the TeeChart package installed with Delphi. The entry
    was apparently not removed when you installed the registered copy of
    TeeChart 9. In the Delphi IDE, select the Component | Install Packages
    option from the main menu and be sure there is not an entry for the
    older version of TeeChart. If it is, remove it and re-start Delphi.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    Hi Nico,

    There's actually no other entry for TeeChart besides "TeeChart Pro 2011
    Components" and "TeeTree 2 Components", and both of those are pointing into
    the new TeeChart folder (the former is using DclTreePro915.bpl). Is there
    some way for the built-in component to not appear in this list, but still
    attempt to be loaded? I've even renamed the Tee9150.bpl to Tee9150.bplbak
    just to ensure that the built-in version wouldn't be used.

  • edited August 2011
    Hi Steve,

    Hmm, this is interesting. As a test, try loading the
    RBTeePackageBuilder.exe application once again and before selecting to
    install TeeChart, let me know the information given in the Edit boxes at
    the top. (Teechart version, location, Delphi version, etc.)

    In the mean time, I will download the "pro" version of Teechart and test
    on my machine.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    Hi Nico,

    Selected Delphi 2011
    Environment Info
    Delphi Version : 15 - C:\Applications\Embarcadero\RAD Studio\8.0
    ReportBuilder Version : 12.05 - C:\Applications\Embarcadero\RAD
    Studio\8.0\RBuilder
    TeeChart Major Version : Pro9 - C:\Applications\Steema Software\TeeChart
    2011 for Delphi 2011\Delphi15\Lib\

    Those are correct for where I have installed Delphi, RB, and TC.
    Thank you,
    -Steve

  • edited August 2011
    Okay, I ran through my registry and replaced all instances of Tee9150.bpl to
    Tee915.bpl, then reran RBTeePackageBuilder.exe. Now I'm able to load the RB
    Teechart 9 components. There was a string "Package Group" in the key
    Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0\Package
    Cache\dclRBC1215.bpl
    Which was referencing Tee9150.bpl. After changing that I would have
    expected it to possibly work, but it wasn't until I changed two others in
    the Installer section of the registry at

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\#####

    that I was able to use the RB Teechart components. But, it appears to all
    be happy now.

    Thank you,
    -Steve
  • edited August 2011
    Hi Steve,

    Thanks for the info. I believe the problem is that there is a
    RB/TeeChart runtime package (rbTC*.bpl or rbTC*.dcp) on your machine
    still being pulled in that was generated with the included version of
    TeeChart.

    My first suggestion is to restart your machine, then try running the
    RBTeePackageBuilder.exe again (without Delphi open). Also be sure to
    run this application in administrator mode.

    If the above does not fix the problem, I recommend performing a corrupt
    install cleanup of ReportBuilder and reinstalling. You will need to
    search your hard drive for any ReportBuilder packages (.bpl, .dcp) and
    remove them before reinstalling. Also before reinstalling, be sure all
    RB/TeeChart package entries are removed from the Delphi IDE.

    http://www.digital-metaphors.com/rbWiki/General/Installation/Cleaning_Up_a_Corrupt_Install

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.