>hi, all how do i check my internet connection still on,
>if still on i want to cut it off for several minute then turn it on again
>for several minute, sample code will be help or what kind of software that provide autodial internet connection with schedule task without prompt user name and password ?, i've used windows 2000 server
This is part of our "about to be released" December issue in the new Wayne Myers Visual FoxPro Tips column:
CheckInternetConnection('http://www.microsoft.com')
FUNCTION CheckInternetConnection
LPARAMETERS tcWebAddress
DECLARE Integer InternetCheckConnection;
IN WININET.DLL;
String Url, Long dwFlags, Long Reserved
IF InternetCheckConnection(tcWebAddress,1,0)<>0
RETURN .T.
ELSE
RETURN .F.
ENDIF
See thread #
724735 for the reference.