Subject | Re: [IBO] Slow at Startup |
---|---|
Author | Gordon Hamm |
Post date | 2001-08-03T15:28:27Z |
I discovered the problem. ALL of my components on the form are NOT active
including my connection. In my form constructor, was then connecting. I
have the LoginPrompt property set to false. For some reason, it is creating
its own connection with out me telling it connect in the constructor.. not
sure why. I simply removed MY connect out of the constructor, works fine. I
doesnt seem that it should connect until I tell it to, but thats ok. I
combed through every line of code so see If I was connecting somewhere in
the code, but Im not.
It has to do with the loginPrompt. I think even with that set to false, it
should only connect after I have either tried a query or Set
Connected:=True;
Anyway, this seemed to be my delay problem.
Gordon Hamm
including my connection. In my form constructor, was then connecting. I
have the LoginPrompt property set to false. For some reason, it is creating
its own connection with out me telling it connect in the constructor.. not
sure why. I simply removed MY connect out of the constructor, works fine. I
doesnt seem that it should connect until I tell it to, but thats ok. I
combed through every line of code so see If I was connecting somewhere in
the code, but Im not.
It has to do with the loginPrompt. I think even with that set to false, it
should only connect after I have either tried a query or Set
Connected:=True;
Anyway, this seemed to be my delay problem.
Gordon Hamm
----- Original Message -----
From: "Helen Borrie" <helebor@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, August 03, 2001 12:05 AM
Subject: Re: [IBO] Slow at Startup
> At 06:10 AM 03-08-01 +0100, you wrote:
>
> > > > The golden rule is - although you CAN, don't use a raw IP address to
> > > connect. I don't know why this recommendation exists but it's
documented
> > > and the archives show a lot of people reporting problems from it.
> > > >
> >
> >See above - In Win98 the raw address may work or may not - NT and W2k
seems to
> >be OK but there is a delay when there is no match in HOSTS.
>
> Somehow I don't think it is a purely Windows issue. The IB documentation
doesn't distinguish it as such...could be an old TCP/IP issue that is long
resolved - it wouldn't be the only out-of-date info to be found in the IB
manuals if that's so.
>
> regards,
> Helen
>
>
>
> All for Open and Open for All
> InterBase Developer Initiative ยท http://www.interbase2000.org
> _______________________________________________________
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>