: I already know about objShell.RegRead(). : : What I want to do is get a list of all keys under HKCUSoftware. I believe it's not possible using the above command. Is there another way to do it? : : Thanks, : Enrique. :
you can do that by a component availabe in visual basic
called "Registry Access Functions" you can find it in the projects>References
Comments
:
: What I want to do is get a list of all keys under HKCUSoftware. I believe it's not possible using the above command. Is there another way to do it?
:
: Thanks,
: Enrique.
:
you can do that by a component availabe in visual basic
called "Registry Access Functions"
you can find it in the projects>References
it has a class and four simple methods
DeleteKey
GetKeyValue
GetNextValue
UpdateKey
and it has the constants
Const HKEY_CLASSES_ROOT = -2147483648 (&H80000000)
Const HKEY_CURRENT_USER = -2147483647 (&H80000001)
Const HKEY_LOCAL_MACHINE = -2147483646 (&H80000002)
Const HKEY_PERFORMANCE_DATA = -2147483644 (&H80000004)
Const HKEY_USERS = -2147483645 (&H80000003)
if you cannot use it in vbscript then creat a component for you in vb and then use your component in vbscript