xmlHttp.Send returns blank confirmation string in vb6
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: xmlHttp.Send returns blank confirmation string in vb6

  1. #1
    Join Date
    May 2003

    xmlHttp.Send returns blank confirmation string in vb6


    I am submmiting to a web site an xml document using the
    XMLHTTP's send method in vb6. I expect it return a
    confirmation string but its returning a blank string. I do
    not know if my request is successfully submitted without
    getting a valid confirmation string back. Do you see
    anything that is wrong with my code below?:

    Dim xmlHttp As New MSXML2.XMLHTTP
    Dim xmldoc As New MSXML2.DOMDocument

    xmldoc.async = False
    xmldoc.Load "C:\Windows\Desktop\testXmlDoc.xml"
    xmlHttp.open "POST", "http://www.swiftcd.com/Orders/SubmitO
    rders.asp", False
    xmlHttp.send xmldoc.xml
    confirmationXML = xmlHttp.responseXML.xml

    I appreciate your suggestions.


  2. #2
    Join Date
    Dec 2001
    I have not used this much, but so far I have been using the responseText property for the return from a web page.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)