set wshShell = CreateObject("WScript.Shell")
ping=Not CBool(wshShell.run("ping -n 1 " & hostname,0,True))
Works for me. I will run the ping in a small loop 1-7 and stop at the 1st response. There is no load balance here as all I have to do is connect to the 1st responding server.
Thanks a lot.
When ever I try the search feature on tek-tips, I get no results.