Not that this is an answer to your question, but you could always do the
'''From Michael Harris post in vbscript group 7/28/03
ping = Not CBool(.run("ping -n 1 " & arg,0,true))
Note that many remote hosts will not respond to a ping, so I wouldn't use
this as a definitive test.
Ray at work
"Morten Frederiksen" <mailno.spam> wrote in message
news:4123a0c9$0$13799$ba624c82nntp05.dk.telia.net ...>I am trying to make a VBScript in an ASP which uses ASPPing
> ([url]http://www.15seconds.com/component/pg000229.htm[/url]) to ping a remote host
> show whether the host is alive. However, I cannot get ASPPing to work
> properly. I always get an empty string in the code below. But if I run the
> script with wscript in a command shell it works fine.
> I am running WinXP, IIS5.1 with anonymous access.
> Set Pinger = Server.CreateObject("AspPing.Conn")
> Pinger.RemoteHost = "www.google.com"
> Pinger.PingCount = 5
> result = Pinger.Ping
> Set Pinger = nothing
> Morten Frederiksen