Save/Load a Form's Control Values And Window Size/Position

Category:
Registry
Type:
Modules
Difficulty:
Intermediate
Author:
Dave Edlen

Version Compatibility: Visual Basic 6

More information:
A one-step process to save all control values on a form to the Windows registry and to retrieve previously saved values and re-apply them to the form. Will automatically save the values for each text box, check box, option button, list box, and combo box. Optionally, the window size and position can also be saved and retrieved. Especially useful for complex "Options" forms. See code comments for more information.

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 modsaveform.zip