Vb 6.0 Xmlhttp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wing
    New Member
    • Jun 2007
    • 28

    Vb 6.0 Xmlhttp

    Hi guys - I am trying to send a document to another server via XMLHTTP. Everything works fine when the document is already created, but when I try to create the XML file within VB 6.0, I get the following error when I try to send it.

    "The system cannot locate the specified resource."
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Could you provide some detail on exactly how you create the file, and send it? For instance, maybe you still have the file open or something? (Maybe you could post the code.)

    Also, what version of VB is this?

    Comment

    • Wing
      New Member
      • Jun 2007
      • 28

      #3
      I apologize for not responding sooner. I had found my error. There was a line at the top of the document that was not being created.

      Code:
      <?xml version="1.0" encoding="UTF-8" ?>
      After adding that line to the XML Document that was being created, my issue was resolved.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Great!

        Thanks for letting us know. This could be useful to anyone else who comes here with a similar problem.

        Comment

        Working...