Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Am I online?
Message
From
21/04/2005 16:20:32
 
 
To
21/04/2005 14:51:33
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
01007183
Message ID:
01007240
Views:
26
This message has been marked as the solution to the initial question of the thread.
>I have mistakenly been using this to determine if there is a current internet connection.

This is how I test:
Declare Integer InternetCheckConnection in Wininet.dll String Url, Long dwFlags, Long Reserved
If InternetCheckConnection(lcURL, 1, 0) = 0
	MessageBox("Not connected to the internet.", 16)
EndIf
If you're checking for a connection so you can call a web service or some other kind of HTTP functionality, you can pass that specific URL as lcURL.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform