General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only