Article View: borland.public.cppbuilder.database.ado
Article #267Attention Gambit >> Disconnects
From: Caleb
Date: Sun, 11 Mar 2007 21:42
Date: Sun, 11 Mar 2007 21:42
20 lines
1224 bytes
1224 bytes
How can I tell if the client program has become disconnected
from the server? And then reconnect?
I have tried checking
Myconnection->Connected
But it reads 'true' when client is diconnected from Internet.
I have tried placing the adotable statements in a try catch
and reconnecting in the catch{}
Also, using BCB6, the client program automatically connects
when launched -- the password is not entered.
Thanks
Caleb
Technical Details
Message-ID:
<45f469b4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,47c601a18b5530e8,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Caleb" <sdafasd@kjl.com> Sender: "Caleb" <sdafasd@kjl.com> Reply-To: "Caleb" <sdafasd@kjl.com> Subject: Attention Gambit >> Disconnects Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 70.126.143.93 NNTP-Posting-Host: 207.105.83.66 Message-ID: <45f469b4$1@newsgroups.borland.com> Date: 11 Mar 2007 13:42:28 -0800 X-Trace: newsgroups.borland.com 1173645748 207.105.83.66 (11 Mar 2007 13:42:28 -0800) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail