Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

NoteNote:

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft