>Anyone know how to supress the error messages in a VFP DLL.
>
>I have code in the Error Event to log the error. I then
>want to cancel the execution.
>
>However, my testing shows that the "OLE IDispatch error..."
>message appears BEFORE the Error Event is fired.
>
>Anyonw know how to get past this?
I've not heard of this happening. However, if the error occurs in the Init method, the Error event will not fire. To return error information to the client, look at the COMRETURNERROR() function.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer