Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forgot to attach the code!
Message
De
29/09/1998 18:57:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Forgot to attach the code!
Divers
Thread ID:
00142162
Message ID:
00142162
Vues:
54
Reference my message above, here is the procedure code.

Terry
****************************************************************
PROCEDURE CHECKCON

LOCAL lnreturn, lcURL, lnflags, lnreserved

lnreturn = 2
lcURL = "http://www.ndss.com"
lnflags = 1
lnreserved = 0

DECLARE Integer InternetCheckConnection in WININET as InternetCheckConnection String @, Integer, Integer

lnreturn = InternetCheckConnection(@lcURL,lnflags,lnreserved)

DO CASE

CASE lnreturn = 1

MessageBox ('Connection was Successful')

CASE lnreturn = 0

MessageBox ('No Connection Detected')

OTHERWISE

MessageBox ('Connection Error: '+ LTRIM(STR(lnreturn)))

ENDCASE

RETURN lnreturn
**************************************************************
Répondre
Fil
Voir

Click here to load this message in the networking platform