Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call dialup networking connection from within Fox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00787284
Message ID:
00787301
Views:
21
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform