Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with WININET.DLL
Message
De
06/02/2003 16:05:10
Joel Whitehead
Ccs Central Computer Services Inc.
Thunder Bay, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00749859
Message ID:
00750186
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform