Solved

Use TRegistry to read external .REG file, possible?

Posted on 1997-06-01
1
261 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

864 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now