Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get VFP OLE Server to use error procedure
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00097111
Message ID:
00097353
Views:
24
>I'm doing this from an ASP page.
>As I said in my early post do the on errorflag and make that flag a property of the form. I also added a killit method to my form that does a thisform.release and clear events. I create from asp createobject(whatever)-- call needed method-- check errorflag and if true call killit method. Works great. But I'm not using any UI in the the server.
>
>Jeff


Jeff,

I am not using a form. It is a non-visual, OLEPublic class that has custom methods to manipulate data. The client is Delphi. I don't see how, by using your method of an error flag would work. The class already traps the error and uses the Error method. It just returns to the method that caused the error and continues with the code...not what I want to happen. I am trying now to use the CANCEL keyword and handle the exception in the client.

Thanks,
Previous
Reply
Map
View

Click here to load this message in the networking platform