Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 19280, Use XML Files instead of Registry

by Burkhard Schranz Email:

IXMLDocument wrapped by a component for TRegistry replacement
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 6.0 706 downloads
Copyright: No significant restrictions

Size: 6,787 bytes
Updated on Wed, 20 Nov 2002 15:01:09 GMT
Originally uploaded on Wed, 20 Nov 2002 15:00:49 GMT
SHA1 Hash: 6467FC3887DC072FEF2D1F56126927120FE9BD4A
MD5 Hash: 996A58D3A49209C1C8BEE2258B536429

    Explore the files in this upload

Under Windows NT/2000/XP the user access to the registry is very often restricted. If you want to store your project information in the registry and the user is just logged in as normal user, it's not possible to write into the HKEY_LOCAL_MACHINE Key.
One way out can be to store your information in an external file. In this case the structure of a XML file can be a full replacement for the registry access.
This component provides the access over two simple properties like Values[ Path, Valuename] as Variant and Text[ Path] as String. Both properties are read/write and Path is the node structure like "root\software\company" etc.
If this is not enough, please implement the TRegistry or TIniFile methods as well (just give me a copy of your source)

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03