Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Never give error message
Message
 
To
26/05/2008 13:00:37
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01319525
Message ID:
01319526
Views:
10
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform