Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

human readable name using registry class

gebuhgebuh Member Posts: 1
I'm using Microsoft.Win32 namespace to access sub keys in the registry of windows2k/xp/vista machines. I can print out the list of sub keys, but they're the GUIDs, I need them in the human readable form.

so this:
[code]For Each subkey In registryKey.GetSubKeyNames
eachSubKey = registryKey.OpenSubKey(subkey) 'get a key
valueList = getValueList(eachSubKey) 'get its list of values
' if list contains permissions, add to list
If (returnPermissionsPresent(valueList)) Then
listOfKeysWithPermissions.Add(eachSubKey.Name)
End If
Next
[/code]
generates something like this:

HKEY_CLASSES_ROOTAppID{7007ACD1-3202-11D1-AAD2-00805FC1270E}
HKEY_CLASSES_ROOTAppID{71B804C5-5577-471D-8FE5-C4A45B654EB8}
HKEY_CLASSES_ROOTAppID{72A7994A-3092-4054-B6BE-08FF81AEEFFC}
HKEY_CLASSES_ROOTAppID{73E709EA-5D93-4B2E-BBB0-99B7938DA9E4}


I need something like:
HKEY_CLASSES_ROOTAppIDAccessibilityCplAdmin
HKEY_CLASSES_ROOTAppIDAccStore
HKEY_CLASSES_ROOTAppIDghost
HKEY_CLASSES_ROOTAppIDigfxcfg

any ideas?






Sign In or Register to comment.