Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access file faster
Message
 
 
À
07/12/2006 16:20:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01175433
Message ID:
01179111
Vues:
9
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform