Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Use TRegistry to read external .REG file, possible?

Posted on 1997-06-01
1
Medium Priority
?
273 Views
Last Modified: 2010-04-06
Is it possible to have a registry-like file that I can use to save infomation into, like a person's settings, etc...I'd like to use it for a single storage system, but, TRegistry always defaults to the local computer's registry and I cannot specify an external file.RegEdit allows you to connect to a NetWork registry file so I know it can be done, but how?
0
Comment
Question by:barddzen
1 Comment
 
LVL 1

Accepted Solution

by:
sleach earned 200 total points
ID: 1336712
To Connect to a NetWork registry file, use RegistryConnect.  You can get more info on this function in the delphi help files.

RegistryConnect(const UNCName: string): Boolean;

However, if I understand your needs, TIniFile would probably do a better job for you.  You can use a TIniFile to make custom ini files to save personal settings and the like.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question