RegistryKey Object

Type Library

VB 5.0 Project-Reference Descriptive String of Type Library
Bindview DirectScript File/Registry Interface 3.2 Type Library


The RegistryKey object supports these interfaces:

When getting interfaces for the RegistryKey interface, you need to use the special string "reg_services". For example,

Dim RegistryKey As IRegistryKey
Set RegistryKey = GetObject("NTDS://DomainName/MachineName/reg_services/HKEY_LOCAL_MACHINE\SOFTWARE\Bindview")

Registries exist in hives. The two allowed hives are HKEY_LOCAL_MACHINE and HKEY_USERS. Notice that the key path after the "reg_services" special string contains backslashes.

If you are unfamiliar with the concept of registry, then you might want to read the short Introduction to Registry topic.


See Also