Registry

Registry


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


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.  
 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.  
 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
 GetValue Returns a value from the registry key.  
 SetValue Sets a value to a registry key, creating it if it does not exist.  

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 Key As RegistryKey
     Set Key = Registry.ClassesRoot
 

See Also

Project CorLib Overview

Class Registry Overview

RegistryKey

RegistryKeyStatic