>Hi,
>
>Can anybody suggest what would cause the following error:
>
>
>OLE error code 0x8000ffff: Catastrophic failure
>
>
>The error occurs on the following line:
>
>
>if type("oForm") == "O" and oForm.Baseclass == "Form"
>
>
>The above line is in the Cleanup() method of the class that is suppose to close all open forms. Here is the segment of the code:
>
>
>read events
>if this.cleanup()
> on shutdown
>*-- and so on
>
>
>I would appreciate any suggestions. TIA.
Slight change in the above:
if type ("oForm.Name") = 'C' and oForm.BaseClass == "Form"
see if this helps.
If it's not broken, fix it until it is.
My Blog