
This article demonstrates how to use Visual Basic. NET to access the registry. To do this, you write your own registry accessing functions by using the Base Class Libraries. Using the Registry and RegistryKey Classes. To access the registry without the constraints of the GetSetting and SaveSetting functions, use the Registry and RegistryKey classes in the Microsoft.Win32 namespace. The Registry class supplies the base registry keys to access values and subkeys in the registry. It has static (shared) fields, such as CurrentUser, to represent the root registry key.
|