Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting an Internet Connection
Message
De
09/01/2002 12:46:15
 
 
À
09/01/2002 12:13:24
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00602563
Message ID:
00602589
Vues:
29
>Hi you can do the following:
>
>Declare Integer InternetGetConnectedState in Wininet.dll Long @dwFlags, Long Reserved
>lnConnectionState= 1
>InternetGetConnectedState(@lnConnectionState, 0)
>?lnConnectionState && values 81=online,82=offline, 18=on with network
>
>
>>How can I detect in Visual Foxpro a live Internet connection. I do not wish to use the ping utility. Is there any other way like activex control or some other way

Alexandre,
Cool code, but what does a return of '86' mean? Is there a list somewhere?
Thanks,
Winn Pauley
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform