I'm Using ASPPING.Conn, I want to know if a computer is online or not... but when I use this:
Set Pinger = Server.CreateObject("Aspping.Conn"
Pinger.RemoteHost = "172.30.26.11"
Pinger.PingCount = 2
OnorNot = Pinger.ping
Response.Write "Resultado:<br/>" & Pinger.Ping
Set Pinger = nothing
It works ok, no problem. but then I wrote,
If Len(OnOrNot)>0 then
stat....
....
Suddenly I Experimented problems, pulling data from anothers computers on my network, my pages didn't work fine... so, I needed to restart my computer...
... I don't know what is the problem... but any Ideas would be useful for me... now, If you have a better Idea to KNOW when a computer in the network is online or not, you know, if the Netwrok cable is plug in, or sometimes the computer is shut off...
please tell me... I need to know if is online, so i can pull data from it...
Follow the dark side, so you can reach the light.
Set Pinger = Server.CreateObject("Aspping.Conn"
Pinger.RemoteHost = "172.30.26.11"
Pinger.PingCount = 2
OnorNot = Pinger.ping
Response.Write "Resultado:<br/>" & Pinger.Ping
Set Pinger = nothing
It works ok, no problem. but then I wrote,
If Len(OnOrNot)>0 then
stat....
....
Suddenly I Experimented problems, pulling data from anothers computers on my network, my pages didn't work fine... so, I needed to restart my computer...
... I don't know what is the problem... but any Ideas would be useful for me... now, If you have a better Idea to KNOW when a computer in the network is online or not, you know, if the Netwrok cable is plug in, or sometimes the computer is shut off...
please tell me... I need to know if is online, so i can pull data from it...
Follow the dark side, so you can reach the light.