Registry Access for Visual Basic 6.0 Users
Techniques for accessing the registry in Visual Basic 2008 differ from those used in Visual Basic 6.0.
In Visual Basic 6.0, you can access the registry using the GetSetting or SaveSetting functions, which provide access to a limited set of registry keys. To access other registry keys, calls to the Windows API are required.
Visual Basic 2008 supplies the My.Computer.Registry object, which provides access to registry keys. For more information, see Reading from and Writing to the Registry Using My.
In addition, complete access to the registry is provided by means of the Registry class in the .NET Framework.
In Visual Basic 2008, the GetSetting and SaveSetting functions are still supported for limited registry access. For more information, see Registry Summary.
Registry Access and Deployment
In Visual Basic 6.0, files can be marked for registration during installation by manually editing the Setup.lst file.
In Visual Basic 2008, Setup and Deployment Projects provide full support for working with the registry during installation. For more information, see Deployment and the Registry.