David;
I thought that was what I was doing by placing my error handling into the Error() method of my MSCOMM object. Does it belong down there, or higher up in the heirarchy at the FORM level (your example doesn't specify which object's error method we're modifying)?
The method I am using is the one in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q291535As I mentioned - this works fine in vanilla VFP but CodeMine fires its own error handler.
Thanks in advance....
Michael
>Michael,
>
>If the class inheritance hierarchy has
any code in the Error() method, the object is going to trap the error. The ON ERROR handler will never fire.
>
>You will need to override the Error() method of the object whose method you are using to call into the error producing code. Something like this:
>
>
lparameter lnError, lcMethod, lnLine
>
>if ( lnError = ERROR_YOU_WANT_TO_TRAP )
> * provide your error handling
>else
> dodefault( lnError, lcMethod, lnLine )
>endif
>
>
>>Yes - Developed the object with a demo form for someone elses application. I now find that their app in developed with CodeMine. Near as I can tell, when they run it outside of Codemine it's running fine - but when run within Codemine the Codemine error handler reports the error.
Kogo Michael Hogan
"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?
Ideate Web Site