>>Dragan
>>we already store file names in a table which we use to locate a file. but you said we could also store creation date/modified date ,how it'll help locate file faster ?
>
>Well if there's anything that you're looking for in these files, you may store the info about it in the table. Any search would then involve the table first, finding the filename in it (by date, keywords, whatever you decide to add to it), and then go straight to the file without going through the whole directory.
>
>The key, of course, is to keep this table up-to-date, which is the job the app in charge of directory watch would do.
Dragan and Rajani,
You may find the way to monitor a directory using BindEvents in VFP9. See
Re: Using GDI+ in VFP 9.0 Thread #
1003756 Message #
1004408
If it's not broken, fix it until it is.
My Blog