Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put form to sleep for a period of time
Message
De
02/08/2006 10:29:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01142402
Message ID:
01142408
Vues:
8
Hi Naomi
You can 'teach' your app to shut down at specific time(s) and then use windows scheduler to start it up when necessary.

Only problem is that if one of your enhanced procedures gets into 5h
deadlock, scheduled shut down might be inacurate :))
Just kiddin'


>Hi everybody,
>
>We have an application called Batch Service. This application has a form with a timer which fires in 10 minutes intervals. We want to put the application to sleep from Friday 7pm till Monday 6am. We put logic to not do anything in the timer event, but I'm thinking we should change the timer interval instead to put it into complete sleed and not waste resources.
>
>What do you think and is there a chance of having a problem if we change timer's interval?
>
>Thanks in advance.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform