Rbuilder.ini location revisited
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
(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
This discussion has been closed.
Comments
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
Would you please send me the patch as well. I have the same problem.
Jeff Kreider
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
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
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
I forgot to delete the dcu file. Thanks for the help.
Jeff