No announcement yet.

ActiveX object XMLHTTP

  • Filter
  • Time
  • Show
Clear All
new posts

  • ActiveX object XMLHTTP


    Does anyone know if there are some special requirements to use the Microsoft.XMLHTTP ActiveX object ? A computer isn't able to send a message using the method "send" provided with this object ... The code is the following:

    var xmlhttp = new ActiveXObject ("Microsoft.XMLHTTP"); ("POST", sPostUrl, false);
    xmlhttp.setRequestHeader ("Content-Type", "text/xml; charset=utf-8");
    xmlhttp.send (sRequest);
    var sResult=xmlhttp.responseXML;

    Thank you in advance!

  • #2
    Re: ActiveX object XMLHTTP

    I think you might want a try a more 'programming' type forum. This area of the forum is mainly for scripting tasks for windows administrators. For example how to create 1000 users without having to do it the long way!!
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **


    • #3
      Re: ActiveX object XMLHTTP

      I've understood it. Fortunately, I don't need it anymore, because the problem was assigned to another person, that can use C# better than me ... Every person that can write "Hello World !" with C# belongs to this set.