This documentation is archived and is not being maintained.

Reading from and Writing to the Registry 

Lists task and conceptual topics associated with the registry.

When programming in Visual Basic 2005, you can choose to access the registry by means of either the functions provided by Visual Basic 2005 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

Common Registry Tasks

Lists tasks associated with the registry, such as determining or setting the value of a registry key.

Reading from and Writing to the Registry Using My

Explains how to use the My.Computer.Registry object to access the registry.

Reading from and Writing to the Registry Using the Microsoft.Win32 Namespace

Explains how to use the Visual Basic 2005 functions, DeleteSetting, GetSetting, GetAllSettings, and SaveSetting, to access the registry.

Walkthrough: Creating a Registry Key and Changing Its Values

Demonstrates how to create a registry key and its subkeys, change their settings, and delete keys.

Security and the Registry

Discusses security issues involving the registry.

Troubleshooting: Manipulating the Registry

Lists common issues encountered when accessing the registry and how to address them.

Related Sections

My.Computer.Registry Object

Lists and explains members of the My.Computer.Registry object.

Registry Class

Presents an overview of the Registry class, along with links to individual keys and members.