Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2.23 KB

reading-from-and-writing-to-the-registry.md

File metadata and controls

40 lines (29 loc) · 2.23 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Reading from and Writing to the Registry (Visual Basic)
Reading from and Writing to the Registry
07/20/2015
My.Computer.Registry object, tasks
registry [Visual Basic], writing to
registry [Visual Basic], reading
a13da106-185b-41d7-b23c-416da65e21e4

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 .NET. 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
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
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
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
Describes how to use the Registry and RegistryKey classes of .NET to access the registry.

Security and the Registry
Discusses security issues involving the registry.

Related Sections

xref:Microsoft.VisualBasic.MyServices.RegistryProxy
Lists and explains members of the My.Computer.Registry object.

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