Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet connection
Message
From
29/02/2000 10:41:44
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00339030
Message ID:
00339111
Views:
27
>Does anyone have idea how to check existence of internet connection from VFP via WININET.DLL? Need to know is the user connected or not.

DECLARE Integer InternetAttemptConnect IN WinInet.dll INTEGER
?InternetAttemptConnect(0)

It gives 0 if a connection is present, and a Win32 error code if it is not. There is alos a GetInternetCOnnected state but I guess it doens't work to well.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform