We have an old VB6 Project that we are updating.Code:Dim HTTP Set HTTP = CreateObject("WinHttp.WinHttpRequest.5.1") HTTP.setTimeouts 50000, 50000, 50000, 50000 HTTP.Open "POST", sAddress, True HTTP.setRequestHeader "Content-Type", "multipart/form-data; boundary=" & "" 'On Local Error Resume Next HTTP.send Data resp = HTTP.responseText
After a client asked for changes, the above code stopped working
On the HTTP.send, we get "the data necessary to complete this operation is not yet available"
Been searching Google but can not find a good solution.




Reply With Quote
