Hi
I need to loop through a part of the registry. I will not know the name of all the keys. The part of the registry I need to loop through is:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers
Someone may have 5 printers installed. I need to go through each key in the registry and go into a sub key and get the printer driver name value.
Does anyone have any ideas about how to loop through the keys in a registry tree when the names are unkown?
TIA
Antony
I need to loop through a part of the registry. I will not know the name of all the keys. The part of the registry I need to loop through is:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers
Someone may have 5 printers installed. I need to go through each key in the registry and go into a sub key and get the printer driver name value.
Does anyone have any ideas about how to loop through the keys in a registry tree when the names are unkown?
TIA
Antony