Replacement for VB's SaveSetting and GetSetting

Category:
Registry
Type:
Modules
Difficulty:
Intermediate
Author:
Phil Fresle

Version Compatibility: Visual Basic 5

More information:
This module contains two procedures; SaveStringSetting and GetStringSetting. These procedures can be used as replacements for VB's SaveSetting and GetSetting so that your data is written to the more useful 'HKEY_LOCAL_MACHINE\SOFTWARE' rather than the 'HKEY_CURRENT_USER\Software\VB and VBA Program Settings' key.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download regsettings.zip