>>To Duong:
>>I assumed that you wanted to search a drive or drives(s) for a file of a given name. I've never used the Win32API to do this, but it has functions similar to what I previously described that are built into Delphi.
>>
>>Look in the file Win32API.txt that is included in the VB installation of DevStudio (5.0) or Visual Studio (6.0) for the FindFirstFile and FindNextFile to get the calling sequence and use a declare statement for VFP.
>>
>>HTH
>>Mike
>
>Hi Mike,
>
>I can not locate the file win32api.txt. I did a search on my whole drive got nothing. I installed everything from the cdrom. Just wonder if you can email me the file if you have it.
>Thanks a lot !!!
Hi To Duong,
Look at my Winfiles class in the download section (Win32 and other APIs). It utilizes both FindFirstFile() and FindNext().
hth,
George
Ubi caritas et amor, deus ibi est