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

Rbuilder.ini location revisited

edited November 2008 in General
Hi

(Sorry if this topic has already been thrashed to death previously, but
I?m struggling to find a solution I can use!)

There?s a thread in the archives that discusses the "cannot write
RBuilder.ini" problem.
(http://delphi.newswhat.com/geoxml/forumhistorythread?groupname=digital-
metaphors.public.reportbuilder.general&messageid=48727970@mail.)

It seems this thread was left without a conclusive answer. I have the
same problem:

1. Users of an application I built see a "cannot write RBuilder.ini"
message whenever they attempt to run a report.

2. It appears that my application creates (or attempts to create) an
*empty* RBuilder.ini file in the \windows\system32 folder when the
Preview screen is opened. This explains the error message; most users do
not have access to the \windows\system32 folder. (RBuilder.ini is not
created when DeviceType is set to Printer or PDF, only when set to
Screen.)

3. I am *not* using the TppDesigner as part of the application.

I know that the location of the RBuilder.ini can be changed by setting
IniStorageName in TppDesigner. But how do you do that if you?re *not*
using TppDesigner? Is there a simple way to change the location of the
RBuilder.ini file, or to prevent its creation in the first place?

(I?m using Delphi 2006 with ReportBuilder 10.09 on Windows XP.)

Thanks!!

David



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited November 2008
    For RB 10.09, there is a patch available. I just emailed it to you.

    With the patch, RBuilder.ini is only created when the TppDesigner is present
    (i.e. ppEndUser is not included in the uses clause).

    RB 11 includes the patched code, plus a security friendly/Vista firiendly
    default location for RBulider.ini when the Designer is used. Plus a new
    IniStorageType called IniNone




    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2008
    Nard,
    Would you please send me the patch as well. I have the same problem.

    Jeff Kreider

  • edited December 2008
    Nard Moseley (Digital Metaphors) schreef:


    Nard,

    Would you please send me the patch as well. I have the same problem.
    I can't find the patch on the download site.

    Christophe
  • edited December 2008

    I have sent the patch to the requestors on this thread.

    Going forward, registered users of RB 10.09, can send an email request to
    support@digital-metaphors.com.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2008
    What file(s) need to be recompiled so that this patched file will be used?


  • edited December 2008
    > What file(s) need to be recompiled so that this patched file will be used?

    To apply the patch, unzip and copy to RBuilder\Lib. Delete the corresponding
    .dcu file and then build your own Delphi project - this will generate a new
    .dcu file. Use Windows Explorer to browse to RBuilder\Lib and check the time
    stamp of the .dcu file.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2008
    Thanks Nard,
    I forgot to delete the dcu file. Thanks for the help.

    Jeff

This discussion has been closed.