Subject Re: [IBO] TIB_Connection.AfterConnect() not firing when attempting to connect second time...
Author Jason Wharton
This is because you are squelching the exception that should normally be
raised.
It is proceeding forward even though it doesn't have a valid connection.

Just a guess. I think I'll need a simple demo to really see what the problem
is if this doesn't clear things up.

Jason Wharton

----- Original Message -----
From: "Dion" <dion@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, March 22, 2002 1:10 PM
Subject: [IBO] TIB_Connection.AfterConnect() not firing when attempting to
connect second time...


> Hi ,
>
> I trap the connect error in the OnError event of the TIB_Connection
> component. When the user attempts to specify a correct path and tries to
> logon again, the AfterConnect of the TIB_Connect component is not
triggered.
>
> I am using IB v4.2.E.
>
> Many Thanks,
> Dion.