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



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

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This requires key enumeration...

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

Ciao, Mike
Dark_KingAuthor Commented:
I have only 10 points
Now I have zero
I have give you 500 points if I have it
hi mike,
you will coming up to place one here ?

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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I thought I give it a try :-) bad luck again...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.