Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verification for dialup access
Message
De
16/03/2004 19:00:51
 
 
À
16/03/2004 18:54:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00886903
Message ID:
00886909
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform