wciccadmin
Programmer
Hello,
I want to use a vbscript to check if a server can access the internet. I am not sure the best way to go about this.
I was thinking of using the winhttp object and hit a few big sites like google yahoo etc. At this point I am stuck on what to do.
I thought about putting the page source in to a string variable and then searhing for a keyword like yahoo on yahoo's site, google on googles etc etc.
If it finds the key word on at least one of the sites, we will assume the server can access the internet.
It seems a little archaic, I don't know if this is the best way or even a decent way of going about this.
Any ideas would be greatly appreciated.
Thanks
I want to use a vbscript to check if a server can access the internet. I am not sure the best way to go about this.
I was thinking of using the winhttp object and hit a few big sites like google yahoo etc. At this point I am stuck on what to do.
I thought about putting the page source in to a string variable and then searhing for a keyword like yahoo on yahoo's site, google on googles etc etc.
If it finds the key word on at least one of the sites, we will assume the server can access the internet.
It seems a little archaic, I don't know if this is the best way or even a decent way of going about this.
Any ideas would be greatly appreciated.
Thanks