PC Review


Reply
Thread Tools Rate Thread

Determine connection state to enable offline capabilities

 
 
Rubbrecht Philippe
Guest
Posts: n/a
 
      18th Aug 2004
Hi there,

I developed an application that reeds configuration settings from a central
database.
Whenever the dataset is read, it's also saved as a local XML file on the
machine.
Whenever the central server is unavailable, the local file is used to enable
offline working.

I would like to now what the fastest method is to determine connection
state.
Trying to open the database connection and waiting for the exception to be
thrown does not seem to be the best way?!

Maybe pinging the central server could be faster and better?!
But how can I do that from Visual Basic .NET?

Can anybody help me out?!

Best regards, Philippe


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      19th Aug 2004
Hi,

http://msdn.microsoft.com/library/de...dunplugged.asp

Ken
---------------------
"Rubbrecht Philippe" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
Hi there,

I developed an application that reeds configuration settings from a central
database.
Whenever the dataset is read, it's also saved as a local XML file on the
machine.
Whenever the central server is unavailable, the local file is used to enable
offline working.

I would like to now what the fastest method is to determine connection
state.
Trying to open the database connection and waiting for the exception to be
thrown does not seem to be the best way?!

Maybe pinging the central server could be faster and better?!
But how can I do that from Visual Basic .NET?

Can anybody help me out?!

Best regards, Philippe



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What Features or Capabilities do Frontpage Extensions Enable? ProfessorSax Microsoft Frontpage 3 9th Aug 2009 07:12 PM
How to Determine the state of the Citrix connection RobUCSD via AccessMonster.com Microsoft Access Form Coding 2 17th Jun 2007 10:48 PM
Next Version and Offline Capabilities =?Utf-8?B?SmFzb24gTi4gR2F5bG9yZA==?= jasongaylord. Microsoft Outlook BCM 0 20th Jan 2006 02:21 PM
how do i enable java capabilities for my browser ken Windows XP Internet Explorer 1 2nd Apr 2004 03:47 AM
how to determine Internet connection state. Ron Vecchi Microsoft C# .NET 2 6th Dec 2003 12:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 PM.