Ping A Network Computer Using VB
Posted on 2000-04-12
I have a basic application that runs some SQL on a database (ODBC connection)on a Server on the network. Depending on the results of the SQL, the application may then use the NT messaging service to "net send" a message to one or more computers also on the network. If the server is down however or network failure, the application fails, also if one of the computers that it sends a message to is 'off' then this slows up the application presumably while it times out. What I would like to do is "ping" the computers involved, and use the reply to determine whether the computer was 'alive' or 'dead'. A simple coded example to do the following would be really useful...
reply = ping 184.108.40.206