Guest mb34 Report post Posted 10/27/2005 11:46 PM I have a script that needs to check some info from a web page. I'd rather not shell IE like in the Yahoo stock example. I have this vb script: Function GetHTML(teamno) Dim objXMLHTTP, strReturn Dim lResolve, lConnect, lSend, lReceive, strUTL Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP") lResolve = 5 * 1000 ' 5 seconds lConnect = 5 * 1000 ' 5 seconds lSend = 15 * 1000 ' 15 seconds lReceive = 15 * 1000 ' 15 seconds strURL = "http://www.austinmetrobaseball.com/teamdetails.php?team=" & teamno objXMLHTTP.setTimeouts lResolve, lConnect, lSend, lReceive objXMLHTTP.Open "GET", strURL, False objXMLHTTP.Send If objXMLHTTP.Status <> 200 Then Exit Function End If strReturn = objXMLHTTP.responseText Set objXMLHTTP = Nothing GetHTML = strReturn End Function This particular script returns "Express" when teamno=42 Share this post Link to post
SupportTeam Report post Posted 10/28/2005 12:04 AM If strReturn is holding the data you wish to save then this is how you would save the contents of strReturn as a Result Variable: set vg = CreateObject("VoiceGuide.CommandLink") vg.RvSet $RV_LINEID, "TeamName", strReturn set vg = Nothing and then you can use $RV[TeamName] in following modules/scripts. see: http://www.voiceguide.com/vghelp/html/com_RvSet.htm Share this post Link to post