Udostępnij za pośrednictwem


Common Registry Tasks (Visual Basic)

The My.Computer.Registry object provides properties and methods for accessing the registry.

Tasks

The following table lists examples involving the registry.

To

See

Create a registry key and set its values

How to: Create a Registry Key and Set Its Value in Visual Basic

Determine whether a value exists in a specific registry key

How to: Determine if a Value Exists in a Registry Key in Visual Basic

Read a value from a registry key

How to: Read a Value from a Registry Key in Visual Basic

Set a value in a registry key

How to: Set Values in Registry Keys in Visual Basic

Delete a registry key

How to: Delete a Registry Key in Visual Basic

See Also

Tasks

Troubleshooting: Manipulating the Registry (Visual Basic)

Reference

RegistryProxy

Concepts

Reading from and Writing to the Registry Using My (Visual Basic)

Security and the Registry (Visual Basic)