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
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.