You can but it aint gonna be any faster just coz it's from vb!
It still will be as fast as from a command prompt etc.
A better way would be to have a client app to run on a client pc and test if connected to network or if connected to internet!
Attached is a module to use:
On a form put:
VB Code:
Dim ECHO As ICMP_ECHO_REPLY
'ping an ip address, passing the
'address and the ECHO structure
Call Ping("127.0.0.1", ECHO)
'display the results from the ECHO structure
Text1.Text = "Server Trip Time " & ECHO.RoundTripTime & " ms"
later
b