Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet connection
Message
De
29/02/2000 10:41:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00339030
Message ID:
00339111
Vues:
28
>Does anyone have idea how to check existence of internet connection from VFP via WININET.DLL? Need to know is the user connected or not.

DECLARE Integer InternetAttemptConnect IN WinInet.dll INTEGER
?InternetAttemptConnect(0)

It gives 0 if a connection is present, and a Win32 error code if it is not. There is alos a GetInternetCOnnected state but I guess it doens't work to well.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform