Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent app quit on error
Message
De
27/02/2011 10:08:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01501996
Message ID:
01502001
Vues:
72
IMO. that's a bad idea. Depending on the error, the app can be left in an unstable state and should be restarted.

>Hi All,
>i am using below codes for error handling top my start.prg at my app is there another way to continue to app when error occured... just show error message and ask to user "Do You Want to Continue or Exit" etc...
>
>or how would be try..catch..finally supported error handling routine ?
>
>TIA
>
>
>On Error Do ErrorHandlerViaForm With  Error( ), Lineno( ), Program( ), Message(), Message(1) 
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform