>>>>>>>>>>>>>>>>>
>Hi Alex, thanks by your response.
>
>I don't want the user look for the file, i want a program that look for a file automaticaly.
>>>>>>>>>>>>>>>>>
Ahh, I see now. You could use the API functions FindFirstFile and FindNextFile.
They are documented here in the UT.
Go to the API menu (on the left of the screen), then click on Search and try #30 and #31
and you should get info on them, similar to this:
DECLARE INTEGER FindFirstFile IN Win32API ;
STRING @lpFileName, STRING @lpFindData
HTH