>>>>Hi Gang!
>>>>
>>>>Do you have guys have any suggestions for code or utilities to use in VFP to check if the Internet is UP to a certain URL (able to connect to the site) and return this info to VFP?
>>>>
>>>>Thanks!
>>>
>>>Can you somehow emulate a PING command in VFP?
>>
>>I was wondering that earlier......
>
>From AlexSS in Russian foxclub web-site:
>
>lcHostName = "www.google.com"
>
> lcCommand = "%comspec% /c ping " + lcHostName + " -n 1 > ping.log"
> loWshShell = CREATEOBJECT("WScript.Shell")
> loWshShell.RUN(lcCommand, 0, .T.)
>
> lcPing = filetostr("ping.log")
>
>** To view the result
> =MESSAGEBOX(m.lcPing)
>
Thanks!!
Tommy Tillman A+ NetWork+ MCP