O'Reilly logo

F. Scott Barker's Microsoft® Access 2000 Power Programming by F. Scott Barker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PERFORMING TASKS WITH THE REGISTRY API CALLS

You can actually perform all the tasks that are done with the built-in VBA commands quite nicely with API calls, as well as much more. Some tasks are covered in the rest of this chapter:

  • Creating a new Registry key

  • Checking to see if a Registry key already exists

  • Creating a new Registry value

  • Updating a Registry value

  • Deleting a key from the Registry

  • Retrieving a value from the Registry

  • Retrieving all the subkeys for a given Registry key

These tasks are demonstrated by using a utility created in Access that allows you to relink a front-end database to various back-end databases. These back ends are tracked by using the Windows Registry. Figure 18.7 shows the main form used in the example.

Figure 18.7. This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required