Solved

Use TRegistry to read external .REG file, possible?

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

13 Experts available now in Live!

Get 1:1 Help Now