Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: How to prevent exception messages being shown in FTP client application & FT
| Subject: | Re: How to prevent exception messages being shown in FTP client application & FT |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 27 Dec 2006 20:11:01 |
"Venkatesh VT" <venks@vsnl.com> wrote in message
news:45933984@newsgroups.borland.com...
> how do I prevent the exception dialog message (i.e. socket error
> 10541.Connection reset by peer)from showing up at all
I already told you how. You need to wrap your code in a try..except block.
The reason the dialog appears in the first place is because you are not
catching the exception in your own code, so it is working its way to the
VCL's default handler.
Gambit
none