USING VBA'S REGISTRY COMMANDS

VBA includes a number of commands to give developers Registry access. They are pretty straightforward to use when you have an idea how to work with the Registry, which at this point you should.

Six commands deal with the Registry; Table 18.2 lists four.

Table 18.2. These Commands Allow Developers to Manipulate the Registry in VBA
VBA Command Purpose
DeleteSetting Deletes a key or value from an application's entry in the Windows Registry or 16-bit INI file.
GetSetting Retrieves a key or value from an application's entry in the Windows Registry or 16-bit INI file.
GetAllSettings Returns a list of key settings and their respective values from an application's entry in the Windows Registry or 16-bit INI file. This places ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.