cValue = "JA0000165801" oIE = CREATEOBJECT("InternetExplorer.Application") oIE.Navigate("http://www.fastway.com.au") IF WaitForReadyState(oIE) oIE.Document.FTrace.TAG.value = ALLTRIM(cValue) oIE.Document.FTrace.Submit() oIE.Visible = .t. ELSE MESSAGEBOX("Internet Connection timed out",64,"Apparently no Internet Connection") ENDIF oIE = nullThe WaitForReadyState function can be found by searching for SmartSMS on the fox wikis.