Reading from and Writing to the Registry (Visual Basic)
This topic describes task and conceptual topics that are associated with the registry.
When programming in Visual Basic, you can choose to access the registry by means of either the functions provided by Visual Basic or the registry classes of the .NET Framework. The registry hosts information from the operating system as well as information from applications hosted on the machine. Working with the registry may compromise security by allowing inappropriate access to system resources or protected information.
In This Section
How to: Create a Registry Key and Set Its Value in Visual Basic
Describes how to use the CreateSubKey and SetValue methods of the My.Computer.Registry object to create a registry key and set its value.How to: Read a Value from a Registry Key in Visual Basic
Describes how to use the GetValue method of the My.Computer.Registry object to read a value from a registry key.How to: Delete a Registry Key in Visual Basic
Describes how to use the DeleteSubKey method of the My.Computer.Registry.CurrentUser property to delete a registry key.Reading from and Writing to the Registry Using the Microsoft.Win32 Namespace (Visual Basic)
Describes how to use the Registry and RegistryKey classes of the .NET Framework to access the registry.Security and the Registry (Visual Basic)
Discusses security issues involving the registry.
Related Sections
RegistryProxy
Lists and explains members of the My.Computer.Registry object.Registry
Presents an overview of the Registry class, along with links to individual keys and members.