Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Never give error message
Message
 
À
26/05/2008 13:00:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01319525
Message ID:
01319526
Vues:
12
>Hi
>I have timer that running each 10 minuts.
>The timer need connection with few servers, terminal server,external machines etc.
>Its not rare that no connection or any other errors.
>I want to tell my timer: run every 10 minuts, if you got error go back (dont coninue with error ignoring) and try again after 10 minuts (timer time).
>
>thanks

Put in Timer Event:
TRY
  **** Your code here
CATCH
   *** Cleaning code if you need one
   this.Reset()
ENDTRY
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform