Results 1 to 2 of 2

Thread: HELP!!.. Method error when using XML..

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Location
    Florida, USA
    Posts
    93

    Question HELP!!.. Method error when using XML..

    I'm getting an error that says:

    Method 'open' of obejct 'IXMLHTTPRequest' failed
    I don't have any idea why?

    This is whta I'm doing , I'm instant.
    Dim ActivityXML As New XMLHTTP40

    ...and here is where is failing:
    ActivityXML.Open "GET", senddata, False

    Can anyone help me.....

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    Here's an example I found on the web.

    Dim oXMLHTTP As MSXML2.XMLHTTP40
    Set oXMLHTTP = New MSXML2.XMLHTTP40
    oXMLHTTP.open "GET", [your XML returning URL], False
    oXMLHTTP.send
    msgbox oXMLHTTP.responseXML


    So it looks like your "senddata" needs to be a URL.

Posting Permissions

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



Click Here to Expand Forum to Full Width