>Hi all,
>when I try to do something wrong on purpose to generate an oledb or ado error, I'd like to be able to catch these errors and handle them in my own exeception handler written in foxpro.
>How can I do that?
>The same happens in my ASP top-tier... I get an error and the application hangs. I'd like to catch that error too and inform the user gallantly how to resolve the error.
>
>thanks in advance!!
>
>-- Erwin
Create an Error event in your COM server. In the Error event, populate the OLE error information structure using COMRETURNERROR(). You will see your nice text instead.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao