Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verification for dialup access
Message
From
16/03/2004 19:00:51
 
 
To
16/03/2004 18:54:46
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00886903
Message ID:
00886909
Views:
22
>something i got from http://www.news2news.com
>
>*!*	http://www.news2news.com/vfp/?example=312&function=-1&xpg=11
>*!*	Initiating Inet connection using a modem
>
>#DEFINE INTERNET_AUTODIAL_FORCE_ONLINE         1
>#DEFINE INTERNET_AUTODIAL_FORCE_UNATTENDED     2
>#DEFINE INTERNET_AUTODIAL_FAILIFSECURITYCHECK  4
>
>DECLARE INTEGER GetActiveWindow IN user32
>
>DECLARE INTEGER InternetDial IN wininet;
>    INTEGER hwndParent, STRING lpszConnectoid, INTEGER dwFlags,;
>    INTEGER @lpdwConnection, INTEGER dwReserved
>
>LOCAL hConnection
>hConnection = 0
>
>? InternetDial (GetActiveWindow(), "MyProvider",;
>    INTERNET_AUTODIAL_FORCE_ONLINE, @hConnection, 0)
>
>? "Number associated with the connection:", hConnection
>
>
>from reading several posts here at UT, there seems to be differences between modem access and lan access in the way the testing for a connection and the autodail/connect is beeing done.
>
>so if you need to be flexible for the future, you might have to go a different route.

That seems to be good. However, when I run this on my existing Internet connection, it goes with the Dialup panel even if I am already connected. What would I need to change in there to adjust?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform