FStorageName := '($WINSYS)\RBuilder.ini'; in ppIniStorage cannot be changed
Hi, I've just upgraded my reportbuilder to version 10.09 from previous
version 10.06 for delphi 2007, I've found a big problem with
Rbuilder.ini, it's created in WINSYS directory but some users haven't
right to write in this directory, so my program get an error
If you want to try to produce this error create a new project put a
ppreport, set device property to screen, put a button and on the click
event write ppreport.print you see that it create a rbuilder.ini in
windows system directory and you don't have the possibility to change
the default directory, only if you change in the ppiniStorage the
initialization section
initialization
FPlugIns := TList.Create;
FStorageClass := TppIniFile;
FStorageName := '($WINSYS)\RBuilder.ini';
Can you help me, thanks a lot
version 10.06 for delphi 2007, I've found a big problem with
Rbuilder.ini, it's created in WINSYS directory but some users haven't
right to write in this directory, so my program get an error
If you want to try to produce this error create a new project put a
ppreport, set device property to screen, put a button and on the click
event write ppreport.print you see that it create a rbuilder.ini in
windows system directory and you don't have the possibility to change
the default directory, only if you change in the ppiniStorage the
initialization section
initialization
FPlugIns := TList.Create;
FStorageClass := TppIniFile;
FStorageName := '($WINSYS)\RBuilder.ini';
Can you help me, thanks a lot
This discussion has been closed.
Comments
There is a patch that solves this issue for RB 10.09. Send an email to
support@digital-metaphors.com requesting that patch to receive it.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
TppIniStoragePlugIn.SetStorageName(mypath+'\RBUILDER.INI');
when the program start, so the variable is initialize correctly
Stefano Coluccia ha scritto:
For RB 10.09, with the patch no RBuilder.ini will be saved for applications
that do not use the end-user designer (i.e. use the ppEndUsr unit. ). When
using the end-user designer, use the TppDesigner.IniStorageType and
IniStorageName to control RBuilder.ini.
For RB 11, there is a new Vista/security friendly default location for
RBuilder.ini - the users local app data folder. And there is a new storage
type call IniNone that can optionally be used to prevent any saving any
info.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com