Subject Re: [IBO] Open Connection - Check for Failure?
Author Woody (TMW)
>
>
> --- In IBObjects@yahoogroups.com, "Woody \(TMW\)" <woody-tmw@g...> wrote:
> > >
> > > How do I check to see if "open" has failed on a TIB_Connection?
> >
> > IIRC, you could test the Connected property to see if it's true.
> >
> > Woody (TMW)
>
> Does open throw an exception is it fails? In that case, I'd never get
> to the Connected check.

You can also test the ConnectedStatus property. If the Open fails, an
exception is thrown but I don't know if you can set the time for how long it
waits. Someone else may know but I can't think of anything off the top of my
head.

Woody (TMW)