Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent app quit on error
Message
From
27/02/2011 14:52:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01501996
Message ID:
01502019
Views:
84
Hi Soykan.

>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...

The key to continuing in the app is to return to the READ EVENTS statement using RETURN TO. The best way to do that is to put READ EVENTS into a method of an object and then RETURN TO (method name).

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform