Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling error 1958
Message
De
18/06/2008 12:46:26
 
 
À
18/06/2008 11:39:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01325139
Message ID:
01325178
Vues:
15
>No I did not try that for 2 reasons:
>
>1. I am using the VFE framework and although it is probably possible I have never tried to override the frameworks error ha.ndling.
>
>2. The error occurs on the REPORT FORM... line and by then I have would need to back out of a lot of saves, etc so it would just be better if I could check the status prior to building the checks, etc that would be printed.

I do not know much about VFE, but Try/Catch is actually a good way to check any kind of "external" things, i.e. everything that is outside the control of your code, like printers being available in one minute but not in the other, file system permissions, probing exclusive access, availability of COM servers etc.


-Stefan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform