This documentation is archived and is not being maintained.

Registry Access Changes in Visual Basic .NET

In Visual Basic 6.0, you could access the registry using the GetSetting or SaveSetting functions, which provided access to a limited set of registry keys. To access other registry keys, calls to the Windows API were required.

In Visual Basic .NET, the GetSetting and SaveSetting functions are still supported for limited registry access. For more information, see Registry Summary.

In addition, complete access to the registry is provided via the Registry class in the .NET Framework.

In Visual Basic 6.0, files could be marked for registration during installation by manually editing the Setup.lst file. In Visual Basic .NET, the deployment tools provide full support for working with the registry during installation. For more information, see Deployment and the Registry.

See Also

Registry Class | Introduction to Visual Basic .NET for Visual Basic Veterans