Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with WININET.DLL
Message
From
06/02/2003 16:05:10
Joel Whitehead
Ccs Central Computer Services Inc.
Thunder Bay, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00749859
Message ID:
00750186
Views:
19
This code prompts the user with the familiar "The web page you requested is not available offline" with the options to "Connect" and "Stay Offline"... selecting connect then brings up the DUN dialogue!

DECLARE INTEGER GetActiveWindow IN user32

DECLARE SHORT InternetGoOnline IN wininet;
STRING lpszURL,;
INTEGER hwndParent,;
INTEGER dwReserved

? InternetGoOnline(NULL, GetActiveWindow(), 0)

Thanks for your help... looking more closely at the 0 and 631 return values for the InternetDial method pointed me in the right direction!

Joel
Previous
Reply
Map
View

Click here to load this message in the networking platform