Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Internet Connectivity
Message
From
25/08/2004 16:34:50
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00936372
Message ID:
00936417
Views:
27
>Nice code, let's save a couple of lines:
>
>

>FUNCTION CheckInternetConnection
>LPARAMETERS tcWebAddress
>DECLARE Integer InternetCheckConnection;
> IN WININET.DLL;
> String Url, Long dwFlags, Long Reserved
> RETURN (InternetCheckConnection(tcWebAddress,1,0)<>0)
>ENDFUNC
>
As a matter on fact.. The release that I've been use I just do: return (InternetCheckConnection(tcWebAddress,1,0)<>0)

I just change here to become a little bit easier to capture..

Tks anyway..

:)
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform