Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADir function
Message
From
28/01/1999 08:59:32
 
 
To
28/01/1999 08:23:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00181248
Message ID:
00181268
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform