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?
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.

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
kretzschmarCommented:
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

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
LischkeCommented:
I thought I give it a try :-) bad luck again...
0
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
Delphi

From novice to tech pro — start learning today.