MohdSuffian
Programmer
thread184-263679
create a function called checkinternet status
PROCEDURE checkinternetstatus
DECLARE INTEGER InternetGetConnectedState IN WinInet INTEGER @lpdwFlags, INTEGER dwReserved
LOCAL lnFlags, lnReserved, lnSuccess
lnFlags=0
lnReserved=0
lnSuccess=InternetGetConnectedState(@lnFlags,lnReserved)
RETURN lnSuccess
ENDPROC
***** to check, call the function like this:
IF thisform.checkInternetStatus() = 1
*** if there is internet connection
ELSE
*** if there is no internet connection
ENDIF
Got this from
thanks
mohd suffian
create a function called checkinternet status
PROCEDURE checkinternetstatus
DECLARE INTEGER InternetGetConnectedState IN WinInet INTEGER @lpdwFlags, INTEGER dwReserved
LOCAL lnFlags, lnReserved, lnSuccess
lnFlags=0
lnReserved=0
lnSuccess=InternetGetConnectedState(@lnFlags,lnReserved)
RETURN lnSuccess
ENDPROC
***** to check, call the function like this:
IF thisform.checkInternetStatus() = 1
*** if there is internet connection
ELSE
*** if there is no internet connection
ENDIF
Got this from
thanks
mohd suffian