More Related Content
More from manojbkalla (12)
Visual Foxpro Vfp check internet connection
- 3. TESTING.PRG
***CODE:
DECLARE INTEGER InternetCheckConnection in wininet;
STRING lpszUrl,;
INTEGER dwFlags,;
INTEGER dwReserved
IF InternetCheckConnection("http://www.google.com/", 1, 0) = 1
WAIT WINDOW 'There is an internet connection'
ELSE
WAIT WINDOW 'There is no internet connection'
ENDIF
abc= InternetCheckConnection("http://www.google2222.com/",11,0)
WAIT WINDOW abc