Kouakou,
Here is a function that will determine if there are any instances of Internet Explorer running on a computer. One caveat, however, is that certain other applications, including windows explorer in Windows XP will use IE embedded for functionality, display, etc... without any actual IE windows being visible. Hope this functions helps.
FUNCTION IsIeRunning
LOCAL llError, loObject, lcOnError, llIeRunning
llIeRunning = .t.
llError = .f.
lcOnError = ON('error')
ON ERROR llError = .t.
loObject = GETOBJECT(,"internetexplorer.application")
IF llError
llIeRunning = .f.
ENDIF
ON ERROR &lcOnError
RELEASE loObject
RETURN llIeRunning
ENDFUNC
regards,
JE
>how to detect if internet is running ?