It's time now for some real examples. The rest of this chapter will look at some actual examples of API calls being used. Before jumping into the individual examples, however, look again at the API declarations used for all of them, merely for your convenience and to refresh them in your mind (see Listing 15.2). These can be found in the module modWindowsAPIRoutines, in Chap15.mdb.
Option Compare Database Option Explicit '-- API Call for finding the associated file Declare Function wu_FindExecutable Lib "shell32.dll" Alias _ "FindExecutableA" (ByVal lpFile As String, _ ByVal lpDirectory As String, ByVal lpResult As String) As Long '-- API Calls for adding and ...