Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
xmlHTTP.Send Questions
See code below. This used to work now I am getting an error message on the
xmlHTTP.Send Error Message = The download of the specified resource has failed. -2146697208 MSXML3.dll Function submitXMLToURL() As String Dim theURL As String Dim xmlHTTP As New xmlHTTP Dim txt As TextStream Dim x As String Dim xmlDoc As New MSXML2.DOMDocument On Error GoTo ErrTRAP submitXMLToURL = "-1" Set txt = fso.OpenTextFile(Me.txtXMLFileName) x = txt.ReadAll txt.Close theURL = "https://WebSiteURL" xmlHTTP.Open "POST", theURL, False xmlHTTP.send x xmlDoc.async = False xmlDoc.loadXML xmlHTTP.responseText If xmlDoc.XML "" Then submitXMLToURL = xmlDoc.XML Else submitXMLToURL = xmlHTTP.responseText End If ErrTRAP: MsgBox Err.Description & Err.Number & Err.Source End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Web Query - Tim Williams xmlhttp Object | Excel Programming | |||
MSXML2.XMLHTTP Works with IE6, IE6 SP 1 but not with IE6 SP 2 - wh | Excel Programming | |||
xmlhttp and ie cache | Excel Programming | |||
XMLHTTP proxy settings. | Excel Programming | |||
XMLHTTP proxy settings. | Excel Programming |