Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I detect an internet connection?
Message
De
29/03/1999 23:19:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00203056
Message ID:
00203297
Vues:
19
Joe
I suggest a call to the WinInet API function - InternetGetConnectedState().
This function can be used to determine if the internet connection defined as the 'default' connection for explorer is currently open. No connection dialog will be presented.

Regards
Bill

*!* Wrapper to the WinInet API call -
*!*
*!* BOOL InternetGetConnectedState(
*!* OUT LPDWORD lpdwFlags,
*!* IN DWORD dwReserved
*!* );


>I want to be able to detect and use an internet connection when one is available but WITHOUT possibly popping up some kind of connection dialog.
>
>Is that possible?
>
>Thanx
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform