Solved

Read the Registry

Posted on 1997-06-21
3
204 Views
Last Modified: 2010-04-04
I know how to read through dirs, but how do I read the
registry? I use win95 with Delphi 1, and I am curious how
to read a value like hkey_users/mydir1/mydir2/thisval.
I am only interested in reading a value, not changing it.
Any ideas?
              Thanks,
                  jexd99@aol.com
0
Comment
Question by:jexd99
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
sleach earned 20 total points
ID: 1337428
Use TRegistry.  This is Delphi's native support for accessing the registry.
0
 
LVL 1

Expert Comment

by:sleach
ID: 1337429
Additional Note:  Delphi has a help file for TRegistry, but it may be hard to find.  The easiest way to bring it up is to type "TRegistry"  somewhere in the code editor, place your cursor on the word, and press the F1 key.  

For some reason, using the help search index doesn't find the topic on my system.  

0
 

Author Comment

by:jexd99
ID: 1337430
TRegistry doesn't show up in D1 help or if I put it in my
code and press F1 as stated above. Thanks for the response.  I am assuming you are using a different version with
a better "help" index, as I have searched for this and cannot find it. :(

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 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