>Thanks Craig. That did it! I noticed that some of the api declarations have user32 and others have win32api. Is there any difference between the two? Again, thanks for your help.
Brad,
You can either specify exact name of DLL that hosts API functions or WIN32API which will cause VFP to search in Kernel32.dll, Gdi32.dll, User32.dll, Mpr.dll, and Advapi32.dll. The first one is faster and only a choice if DLL isn't in the above list.
--sb--