Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to check for file existance
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01138701
Message ID:
01138703
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform