Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Online or Not...
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00281401
Message ID:
00283659
Views:
16
Hi Eric,

>Which API will tell me if I am connected to the Inet or not and of not call up the Win Dialer and connect without prompting?
Declare Integer InternetGetConnectedState in WinINet.Dll Long @lpdwFlags, Long dwReserved
lnFlags = 0
? InternetGetConnectedState(@lnFlags,0)
This function returns 0, if not connected, any other value if connected. The flags can be used to determine additional information, like connected via modem, LAN, Proxy, etc.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform