Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to check for file existance
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01138701
Message ID:
01138703
Views:
12
Something like this will work.
oFileTest = CREATEOBJECT('tmrFileCheck')
oFileTest.Enabled = .T.

DEFINE CLASS tmrFileCheck AS TIMER
*
Interval = 60000  &&--Check every 60 seconds

PROCEDURE TIMER
*
This.Enabled = .F.
IF FILE("C:\ZipDump\Skippy.zip")
  *--Do some stuff
ENDIF
This.Enabled = .T.
ENDPROC

ENDDEFINE
Previous
Reply
Map
View

Click here to load this message in the networking platform