File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between Microsoft.XMLHTTP and Msxml2.XMLHTTP

 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers,

I am trying the Example of Ajax from this link

There we have these things to creating a Object of XMLHttp Object.
both are using for the IE.

can you tell me the difference between in these?
 
David C. Crane
author
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're just different IDs for ActiveX controls - under the hood they're pretty much identical until you get into heavyweight XML stuff like XPath. So, on the whole, for Ajax development, it doesn't make a big difference.

The w3schools example is presumably trying both to ensure better support on a wider range of Windows-based web browsers. You'll see similar code in a lot of Ajax libraries, but you don't need to worry about it too much.

Dave
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David C. Crane:
They're just different IDs for ActiveX controls - under the hood they're pretty much identical until you get into heavyweight XML stuff like XPath.


Thanks for your reply David C. Crane
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic