Solved

Keys in registry

Posted on 2001-08-29
4
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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