Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need timeout check for entire program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00692237
Message ID:
00693834
Vues:
21
>>Ok i was reading this thread and this is interesting.. i have something more or less like this... but the think is... my aplication its a payroll system (or i dont know how to say it in english) sometimes if i have a lot of data and i'm making like a huge process that checks the history tables and calculates something from the history it can take about 3 minutes or so.. i have a client that wants 2 minutes of idle time.. the question is how can i see if there's a process runing of that kind, so that i ignore the process time for inactivity or something like that??
>
>You could disable the timer or the timout system when you know there is a large process that might take longer than your timeout -
>
>Start your process...
>
>oApp.DisableTimeOut()
>
> which does something like this...
>oApp.oTimeoutTimer.Interval = 0
>
>After your process finishes,
>oApp.EnableTimeOut()
>
> which does something like this...
>oApp.oTimeoutTimer.Interval = oApp.nTimeoutInterval

Wayne,
I just went back and read this thread and that is exactly what I did to run the reindex function in my program. Just thought you'd like to know great mind thing alike.
John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform