Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I detect an internet connection?
Message
From
29/03/1999 23:19:59
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00203056
Message ID:
00203297
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform