>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!
Try this
CLEAR
#define FLAG_ICC_FORCE_CONNECTION 0x01
DECLARE INTEGER InternetCheckConnection IN wininet STRING lpszUrlSTRING, INTEGER dwFlags, INTEGER dwReserved
myFastLoadedSite = "http://www.levelextreme.com"
? InternetCheckConnection(myFastLoadedSite,FLAG_ICC_FORCE_CONNECTION,0)
myFastLoadedSite = "http://www.universalthread_error.com"
? InternetCheckConnection(myFastLoadedSite,FLAG_ICC_FORCE_CONNECTION,0)
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst