Read key from register

Read key from register

I use win95 and 98.

I need to read only the key under a key
not the value under a key

ex..

HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers

Under this key it is :
HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers\HP C LaserJet 4500-HP
HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers\HP LaserJet 4 i media

I don’t now the key on every machine
I need to red  "all" keys under Printers
Then I now all printers install on a system

Pleas Help

/janne  
LVL 6
Dark_KingAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
kretzschmarConnect With a Mentor Commented:
hi mike,
you will coming up to place one here ?

to Dark King
look in the delphi online help at the tregistry-method GetKeyNames

meikl
0
 
LischkeCommented:
This requires key enumeration...

Raise the points for this question to 200 and I'll give you the code.

Ciao, Mike
0
 
Dark_KingAuthor Commented:
Sorry
I have only 10 points
Now I have zero
I have give you 500 points if I have it
0
 
LischkeCommented:
I thought I give it a try :-) bad luck again...
0
All Courses

From novice to tech pro — start learning today.