Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Am I online?
Message
De
21/04/2005 16:20:32
 
 
À
21/04/2005 14:51:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
01007183
Message ID:
01007240
Vues:
27
This message has been marked as the solution to the initial question of the thread.
>I have mistakenly been using this to determine if there is a current internet connection.

This is how I test:
Declare Integer InternetCheckConnection in Wininet.dll String Url, Long dwFlags, Long Reserved
If InternetCheckConnection(lcURL, 1, 0) = 0
	MessageBox("Not connected to the internet.", 16)
EndIf
If you're checking for a connection so you can call a web service or some other kind of HTTP functionality, you can pass that specific URL as lcURL.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform