Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to work with ON ERROR correctly?
Message
From
30/09/2004 09:51:59
 
 
To
30/09/2004 00:23:31
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947400
Message ID:
00947508
Views:
13
Hi Eugene,

Check out:

http://www.ml-consult.demon.co.uk/foxst-07.htm
http://fox.wikis.com/wc.dll?Wiki~AppShutDown~VFP

for some ideas.

Bruce


>Hi,
>I want to use my own error handling routine instead of standard VFP dialog. And I want to terminate application if user clicks the "Quit" button in my error message form. How can I end application correctly if I use stand-alone .exe application with top-level main form?
>I tried to use the following code:
>
> Close all
> Clear all
> Quit
>
>But it raises errors like "Cannot clear object in use", etc.
>What are the right steps to shut down application ?
Previous
Reply
Map
View

Click here to load this message in the networking platform