Registry

Registry


Supplies the base Registrykeys that access values and subkeys in the registry.


Remarks

These are the base sets of root registry keys used to access different classes of registry keys.

To access these methods, use the Registry.* syntax:

     Dim rk As RegistryKey
     Set rk = Registry.ClassesRoot
 

See Also

Project VBCorLib Overview | RegistryKey | RegistryKeyStatic

Public:

Properties:

NameDescription
 ClassesRoot (get)Returns a RegistryKey object that is then used to access registry keys and values for class types and their properties. The root section of the Registry accessed is HKEY_CLASSES_ROOT. 
 CurrentConfig (get)Returns a RegistryKey object that is then used to access registry keys and values for the current configuration of hardware. This is not user specific data. The root section of the Registry accessed is HKEY_CURRENT_CONFIG. 
 CurrentUser (get)Returns a RegistryKey object that is then used to access registry keys and values for information and preferences of the current user. The root section of the Registry accessed is HKEY_CURRENT_USER. 
 DynData (get)Contains dynamic registry data. This field reads the Windows registry base key HKEY_DYN_DATA. 
 LocalMachine (get)Returns a RegistryKey object that can be used to access information and preferences about the local user machine. The root section of the Registry accessed is HKEY_LOCAL_MACHINE. 
 MaxValueLength (get) 
 MaxValueNameLength (get) 
 PerformanceData (get)Contains performance information for software components. This field reads the Windows registry base key HKEY_PERFORMANCE_DATA. 
 Users (get)Contains information about the default user configuration. This field reads the Windows registry base key HKEY_USERS. 

Methods:

NameDescription
 GetRootKeyReturns a root RegistryKey for the key defined in the key name. 
 GetSubKeyReturns a RegistryKey to the full path of the key name. 
 GetValueReturns a value from the registry key. 
 SetValueSets a value to a registry key, creating it if it does not exist.