Thanks, that code works very well, but I don't always know the IP Address
that will be queried. I do know the server name though and the IP Address
may change. Have you ever used any code that would query a DNS server or be
able to extract the IP Address from the FQDN?
<pi********@hotmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
Rico,
there's code at VBNet to do this.
http://vbnet.mvps.org/code/internet/ping.htm
When I used it, I compared the return to whatever success was defined
as.
then you can just write the results to a table. (Essentially, open an
updateable recordset of IP addresses, then pass the IP address to the
Ping function and then write the result back to the table.