When closing the designer in delphi designtime i get always the error message: "Cannot write into RBuilder.ini". And after closing the error messagebox i cannot close the designview-window.
In Vista, an application needs administrator rights in order to write files to most of the disk with the exception of the \Users\ area. To run Delphi as an administrator, you will need to either right click over the shortcut and select "Run as Administrator", or you can do so permanently by selecting the "Run Program as Administrator" checkbox in the "Compatibility" tab of the bds.exe or delphi32.exe file's properties dialog.
I don't think running an app as administrator is a good long term solution.
Is there a way to move the RBuilder.ini file to another folder? Is there a way to designate the path to the files ReportBuilder would need write access?
Should we perhaps reinstall ReportBuilder to its own directory off of the root drive instead of in the default directory? Do you think this would work ok?
Sorry, I was not very clear about the solution. My previous post is a temporary solution to something that will be addressed for a later (Vista compliant) release of ReportBuilder. It is currently not possible to change the location of the RBuilder.ini file location.
Maybe it should be mentioned that it is possible to change the IniStorageType to Registry and store the information in an open key within the registry. I use this solution after having seen the same kind of problem with the ini file. Kind regards TorB.
Correct. For the applications that you build, you can use the Designer.IniStorageType and IniStorageName to control how and where ini settings are stored.
At Delphi design-time, its a different story. The default of RBuilder.ini is used.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
In Vista, an application needs administrator rights in order to write files
to most of the disk with the exception of the \Users\ area. To run Delphi
as an administrator, you will need to either right click over the shortcut
and select "Run as Administrator", or you can do so permanently by selecting
the "Run Program as Administrator" checkbox in the "Compatibility" tab of
the bds.exe or delphi32.exe file's properties dialog.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Is there a way to move the RBuilder.ini file to another folder? Is there a
way to designate the path to the files ReportBuilder would need write
access?
Should we perhaps reinstall ReportBuilder to its own directory off of the
root drive instead of in the default directory? Do you think this would
work ok?
Sorry, I was not very clear about the solution. My previous post is a
temporary solution to something that will be addressed for a later (Vista
compliant) release of ReportBuilder. It is currently not possible to change
the location of the RBuilder.ini file location.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
IniStorageType to Registry and store the information in an open key within
the registry.
I use this solution after having seen the same kind of problem with the ini
file.
Kind regards
TorB.
****
Designer.IniStorageType and IniStorageName to control how and where ini
settings are stored.
At Delphi design-time, its a different story. The default of RBuilder.ini is
used.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks, now i works. :-)
Best regards
Robert