Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Evansville, Indiana, USA
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    verify network connection (2003)

    Is there a way to check for a network connection? For example, I want to check to see if the computer is connected to //server/public. Is this possible?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: verify network connection (2003)

    Sorry for the late reply.

    Assuming that there are folders under serverpublic, you could try something like this:

    Dim strPath As String
    On Error Resume Next
    strPath = Dir("serverpublic*.*", vbDirectory)
    If Err Then
    MsgBox "Path not available"
    Else
    MsgBox "Path available"
    End If
    On Error GoTo 0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •