Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer object
Message
De
07/09/2003 16:06:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Timer object
Divers
Thread ID:
00826886
Message ID:
00826886
Vues:
61
This should be a simple question,

How would I create an exe that will run code at a specified interval.
this is what i was trying. And can anyone point me in the direction of how i could run this exe as a service?

Thanks,

Paul

oTimerObj=CREATEOBJECT('AppTimer')


DEFINE CLASS apptimer as Timer
interval = 60000
PROCEDURE timer
do somefunction()
endproc
ENDDEFINE
PUBLIC oTimerObj


function somefunction

Do what I want

endfunction
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform