Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Am I online?
Message
From
22/04/2005 08:27:46
 
 
To
21/04/2005 16:20:32
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
01007183
Message ID:
01007413
Views:
22
Mike: Another question... do you know how to control the useage of the dial-up dialog? When you start VFP9 and are off-line, you get the dialog to launch your dial-up service. Your code will do the same the first time you invoke it. (Tries to connect to the URL) If you close the dialog without connecting, on subsequent execution of the code it does not try to launch the dial-up. Can you a) omit the dial-up when offline and running the code for the first time, and b) launch the dial-up programatically if you know you are not connected?

Thanks,

dg
>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