>>>>Hello,
>>>>
>>>>Does anyone knows how to check if an entered URL exists ?
>>>>
>>>>Thanks...
>>>
>>>Here is my InternetOK function, I guess you can use it if you change the URL
>>>Function InternetOK
>>>#define FLAG_ICC_FORCE_CONNECTION 0x01
>>>
>>>DECLARE INTEGER InternetCheckConnection IN wininet STRING lpszUrlSTRING, INTEGER dwFlags, INTEGER dwReserved
>>>myFastLoadedSite = "http://www.dir.bg"
>>>Return InternetCheckConnection(myFastLoadedSite,FLAG_ICC_FORCE_CONNECTION,0)=1
>>>
>>
>>What condition would this function return True even when the URL invalid? I tested it, and is returning True on non-existing URLs.
>
>Hi Greg,
>The function return .t. when the URL exist.
>I test and for me works.
It must have something to do with our firewall here. For some stupid reason all network traffic seems to be bounce across the country to Nashville (HQ). Sorry :-)
Greg Reichert