Type Library
FLATVIEWLib
VB 5.0 Project-Reference Descriptive String
of Type Library
Bindview DirectScript File/Registry Interface 3.2 Type Library
DLL
QSFILEREG.DLL
The registry is a tree-structured hierarchy of keys and values.
Windows and applications running under it make use of the system registry.
Windows provides the Regedt32.exe interactive utility for viewing and modifying the contents of the system registry.
Windows also provides a set of Win32 API functions to programmatically get and set these values. RegCreateKeyEx, RegOpenKeyEx are some examples. These functions may be called from applications written in Visual C++ or Visual Basic.
The RegistryKey object, which is a part of DirectScript, simplifies the task of viewing and changing the contents of the registry. You may also use this object to manipulate the system registries of any computer on your network.
The RegistryKey object supports these interfaces:
IRegistryKey: Can be used for system registry operations.
IADs: Can be used to get some basic properties (like name, class, and parent) of an object.
IADsContainer: Can be used to create, delete, copy, move, and enumerate contained objects.
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