Reestablish broken connection after sleep
From: Michael Tissington (michael_at_nospam.com)
Date: 11/27/04
- Next message: Kevin Yu [MSFT]: "Re: ADOX/ADO quirk when creating a primary key"
- Previous message: Philmans: "Re: binding dataset"
- Next in thread: Mary Bray: "Re: Reestablish broken connection after sleep"
- Reply: Mary Bray: "Re: Reestablish broken connection after sleep"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Nov 2004 17:05:56 -0800
I have an application on a laptop that runs with several ADO objects open at
a given time (Connection, Recordset etc) - most all use client side cursor.
The database is on another machine.
If the application is running (sitting idle) and the laptop goes to sleep
and then resumes, all the ado objects are no longer valid - because the
connection object is broken.
Is it possible to monitor for an event on the connection object and re
establish it when the computer resumes so that any associated objects are
still valid?
Thanks
-- Michael Tissington http://www.oaklodge.com http://www.tabtag.com
- Next message: Kevin Yu [MSFT]: "Re: ADOX/ADO quirk when creating a primary key"
- Previous message: Philmans: "Re: binding dataset"
- Next in thread: Mary Bray: "Re: Reestablish broken connection after sleep"
- Reply: Mary Bray: "Re: Reestablish broken connection after sleep"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|