Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADir function
Message
De
28/01/1999 08:59:32
 
 
À
28/01/1999 08:23:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00181248
Message ID:
00181268
Vues:
11
>Hello:
>
>I have a program written that uses the adir function to display
>all directory information into a form when the user clicks a button.
>
>If a user makes a change to a file and then displays the file details
>in this form it gives that date and time before the change. If they go into explorer and refresh and then use the program it gives the correct information. How can I incorporate a refresh in my program
>so that any changes to files in the directories which I am displaying
>will be immediately displayed in my form?

You'd have to periodically repeat the ADIR() operation, since the ADIR() does a snapshot of things, recording the state at the time the ADIR() ran.

>
>Any input would be greatly appreciated. Thank you.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform