I believe the IsActive property is not entirely accurate and tends more
to reflect the situation when the last command, or whatever, ran. But
hours-of-being-dormant later, testing this property does not prove the
connection is still viable.
What do you do?
The reason I ask is that in VB we try
Jef Lee wrote: I believe the IsActive property is not entirely
accurate...
From my tests, you are right about IsActive - it is the results of the
last connection (I think) and has nothing to do with the current state.
I added a timer function to our VB front end that runs every 60 seconds
and
The same result can be accomplished by calling a subroutine that does
nothing other than return.
If it does not throw an exception, then the connection is alive.
==
Richard Nuckolls
Lynden Incorporated
18000 International Blvd, #601
Seattle, WA 98188
On Oct 4, 2007,
We regularly call a UV subroutine ASKOK which returns 'OK'. If it
doesn't, it is assumed the connection has broken.
- Original Message -
From: Kryka, Richard [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Friday, October 05, 2007 4:42 AM
Subject: RE: [U2] How does one