Solved

Keys in registry

Posted on 2001-08-29
4
219 Views
Last Modified: 2010-04-06
How do I find the the names on the keys below a certain key in registry? I want to find the names in hex of the NICs:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
 Tcpip\Parameters\Interfaces\{some_long_hex_number}
                             {another_long_hex_number}
                             {....}

I'm using D5 Ent.
Regards,
Morten
0
Comment
Question by:mdrasted
4 Comments
 
LVL 1

Accepted Solution

by:
ntony earned 200 total points
ID: 6436416
take a look to
   GetValuesNames
   GetKeyNames
funtions

maybe it's what you are looking for
0
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 6436551
Have a look at the Jedi Code Library at http://www.delphi-jedi.org/Jedi:CODELIBJCL. It contains among (MANY) other functions RegGetKeyNames and RegGetValueNames.
0
 
LVL 21

Expert Comment

by:gemarti
ID: 6436601
GetValueNames will work fine on a Windows NT system; but forget trying to use it on a Windows 9x system unless your running it on the local machine. GetValueNames will not work correctly if you try to connect to a remote W9x machine. There is a bug with the W9x OS.

See my previous Q on a similar subject. I also posted code on accessing and reading key values and data from the registry that may help you out.

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=delphi&qid=20172962

also here is the Article ID that can be found on the microsoft site:
Q193465


0
 
LVL 1

Author Comment

by:mdrasted
ID: 6444016
That's what I'm looking for, thanks for your help!

Regards,
Morten
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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 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