Solved

Read the Registry

Posted on 1997-06-21
3
201 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
delphi custom sort exception 6 111
Machine not responding during CopyFile() 3 79
Simple Delphi Question 9 77
oracle global variables 4 53
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…
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…
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 video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

10 Experts available now in Live!

Get 1:1 Help Now