LocationMy.Computer.Registry.CurrentUser SyntaxDim result As Microsoft.Win32.RegistryKey = _ My.Computer.Registry.CurrentUser DescriptionThe CurrentUser property returns a Microsoft.Win32.RegistryKey object that refers to the HKEY_CURRENT_USER location in the Windows registry. This entry point is used primarily to store application and system settings specific to the current Windows user. Usage at a Glance
ExampleThe following example displays all of the sub-elements of the HKEY_CURRENT_USER registry key element in a listbox control. The example assumes that you are using this code on a form with a defined ListBox1 control. ListBox1.DataSource = My.Computer.Registry. _ CurrentUser.GetSubKeyNames( ) Related Framework Entries
See AlsoClassesRoot Property, CurrentConfig Property, DynData Property, GetValue Method, LocalMachine Property, PerformanceData Property, Registry Object, SetValue Method, Users Property |