I am using the following code:I create the xml and then call the xmlpost function.I am getting an error on the .send “The download of the specified resource has failed” Private Function xmlPost(ByVal sURL As String, ByVal sRequest As String, ByVal iTimeOut As Integer, ByRef sResponse As String) As BooleanDim sSource As StringDim iCount As IntegerDim objXMLPost As MSXML2.XMLHTTP40Dim iLTimeOut As Long xmlPost = FalseSet objXMLPost = New MSXML2.XMLHTTP40iLTimeOut = iTimeOutiLTimeOut = 1000 * iLTimeOut objXMLPost.Open "POST", sURL, FalseobjXMLPost.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" objXMLPost.send sRequestsResponse = objXMLPost.responseText xmlPost = TrueSet objXMLPost = Nothing Exit FunctionEnd Function
Does anyone have any idea?Thanks,Ninel