XMLHTTP in VB

wxdqz

New Member
I have a vb client program that posts an xml to a webservice running on aserver. I use this method to send the postXmlHttp.open "POST", gServerName, FalseXmlHttp.setRequestHeader "Content-Type","application/x-www-form-urlencoded"XmlHttp.send objXMLSet retXML = XmlHttp.responseXMLMy problem lies in between the send and response statements. For my users,some kind of progress of this exchange needs to be shown (ie. Progress Barindicating that it is contacting the server...) I've tried using the onReadyStateChangeevent, but that leads to a strange error that I cannot trace (somehow losingthe xmlHttp object). I've tried setting async to true and this does notwork either! Is there no way to run any code between the request and response?Stephen ("User totally frustrated with XMLHTTP object")
 
Back
Top