Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect a 'dead' object
Message
 
 
To
11/01/1999 11:31:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00174663
Message ID:
00174685
Views:
31
Steve,

You are much better off using the Error mthod of the object to detect errors than to use ON ERROR handlers.

If your error method gets an nError = 1426 you can decide how you want to handle the failure.

>Jim Booth has given me a way to check whether the object exists. However thanks for the ON ERROR idea as I was wondering whether I could do something like that for another problem I've been encountering. Thanks for your help.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform