Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling error 1958
Message
From
18/06/2008 12:46:26
 
 
To
18/06/2008 11:39:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01325139
Message ID:
01325178
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform