Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking Internet Connectivity
Message
De
25/08/2004 16:34:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00936372
Message ID:
00936417
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform