Re: Cant trap Exception.



Karl A. Sψrensen laid this down on his screen :
Any idea on how to catch this exception (removing the message box) ?

Yes.

1) Close the connection object (lConnection.Connected := false) from you designer before compiling your project.

2) change the exception handling code from
except
iRetVal := 0;
end;

To

except
On E:Exception do
begin
iRetVal := 0;
end;
end;

Regards
Yannis.

--
You talk a great deal about building a better world for your children, but when you are young you can no more envision a world inherited by your children than you can conceive of dying. The society you mold, you mold for yourself.
----Russell Baker-------


.



Relevant Pages

  • Plastic fix for SGI cases (maybe)
    ... Being a mechanical designer with my own fairly well-equipped ... Why not make say a box mold as long or wide ... If there is no reason the above can't be done, ... expensive part of this approach would be the paint because you'd have ...
    (comp.sys.sgi.hardware)
  • Re: OT-Re: mold tools
    ... If I were a mold designer I would disagree strongly with that. ... As John ... I never dictate to the mold builder how the mold should be made. ...
    (comp.cad.solidworks)
  • Re: Mold Design
    ... Emerald Tool and Mold Inc. ... we hired a new designer here that has shown me some new ... >>> derived sketches to create your features. ... >>> Emerald Tool and Mold Inc. ...
    (comp.cad.solidworks)
  • Re: OT-Re: mold tools
    ... Perhaps I should have said that you have to plan the specific special ... in the part for various product models, I have to plan those options ... additional mold. ... If I were a mold designer I would disagree strongly with that. ...
    (comp.cad.solidworks)