Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for a file in a directory
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00600802
Message ID:
00600805
Views:
16
Neetu,

You can use a Timer control. In the Timer() method you can use the FILE() function to check for the existence of the file.

>I need to write a program that will poll a directory for a specified file. The interval of time to poll the directory is preset. If found the program should process the file. When processing the file, the program should not poll for another file even if it meets the interval of time specified.
>
>I would like to know if there is a foxpro command/control that I can use.
>
>Can I use the timer control?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform