Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call dialup networking connection from within Fox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787284
Message ID:
00787301
Vues:
20
Try this:
#DEFINE INTERNET_AUTODIAL_FORCE_ONLINE      1
#DEFINE INTERNET_AUTODIAL_FORCE_UNATTENDED  2

DECLARE INTEGER InternetAutodial IN wininet;
	INTEGER dwFlags, INTEGER dwReserved

DECLARE INTEGER InternetAutodialHangup IN wininet;
	INTEGER dwReserved

* To prompt the user to establish a Net connection
= InternetAutodial (INTERNET_AUTODIAL_FORCE_ONLINE, 0)

* To automatically start dialling
= InternetAutodial (INTERNET_AUTODIAL_FORCE_UNATTENDED, 0)

* To disconnect an automatically dialled connection
= InternetAutodialHangup(0)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform