Windows Registry Class Help
This class contains functions for communicating with the Windows Registry.
The Windows Registry is a hierarchical database of configuration information maintained by the operating system. This database is made up of Keys, where each Key may have associated Subkeys and/or Values. Each Value is made up of a Value Name and some Data, which may be of different types. Using functions in this class, you may write and read Value data to and from specified Keys.
The base of the Registry hierarchy is made up by the system Root keys:
HKEY_LOCAL_MACHINE
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
Each of these Root keys contains any number of Subkeys, and each Subkey contains any number of Values.
Applications will typically store "system" settings, such as the installation directory, in Subkeys of HKEY_LOCAL_MACHINE\SOFTWARE, and user–oriented settings, like color schemes, in Subkeys of HKEY_CURRENT_USER\SOFTWARE.
Use regedit to view the contents of your system Registry.
As an example, LabWindows/CVI itself stores information in the \SOFTWARE\National Instruments\CVI\5.0 Subkeys of both the HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER Root keys.
![]() |
Note Do not store data in the LabWindows/CVI Keys. |
(Linux) The functions in the Windows Registry class are not supported.
Library: Programmer's Toolbox Control