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

DISPLAYING PERTINENT FOLDERS FROM WITHIN YOUR APPLICATION

The following are some useful function calls to know when you're in the middle of your application, and the other API calls displayed here are pretty straightforward. Three routines—GetWindowsDirectoryA, GetSystemDirectoryA, and GetTempPathA—are called. You can pretty well see which routine performs what function just by looking at the declarations:

 Declare Function wu_GetWindowsDirectory Lib "kernel32" Alias _ "GetWindowsDirectoryA" (ByVal lpBuffer As String, _ ByVal nSize As Long) As Long Declare Function wu_GetSystemDirectory Lib "kernel32" Alias _ "GetSystemDirectoryA" (ByVal lpBuffer As String, _ ByVal nSize As Long) As Long Declare Function wu_GetTempPath Lib "kernel32" Alias _ ...

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