Author: Tracy Pearson
Posted: 2006-06-28 at 12:01:02
oIE = createobject( 'internetexplorer.application')
oIE.Navigate2( "http://www.yahoo.com" )
oIE.Document.Body.InnerHTML && should have something other than the 404
error
If you are shipping MSXML 3 for XMLtoCursor you'll have this available
oHTTP = createobj("MSXML2.XMLHttp.3.0")
oHTTP.Open("GET","http://www.yahoo.com")
TRY
oHTTP.Send()
CATCH
oHTTP = .NULL.
ENDTRY
IF ISNULL(oHTTP)
*-- Unable to connect to internet
ENDIF
Tracy
-----Original Message-----
From: G Gambill
Sent: Wednesday, June 28, 2006 12:27 PM
Subject: How To Know If an Internet Connection is Active
How can I determine if an Internet Connection is active for PostCast Server.
I thought about
oIE = createobject( 'internetexplorer.application')
oIE.Navigate2( "http://www.yahoo.com" <http://www.yahoo.com/>)
but can't figure out how to programatically test if that was successful.
TIA
George