There are two progid's. I've seen both used.
Anyone have any insight as to when I should use one, versus the other?
You should definitely not use Microsoft.XmlHttp.
From the Microsoft XML Team blog: Using the right version of MSXML in Internet Explorer:?(archive)
MSXML2 vs. Microsoft namespace – I’ve also seen a lot of code that instantiates the "Microsoft.XMLHTTP" ActiveX object rather than the MSXML2.XMLHTTP.3.0 or MSXML2.XMLHTTP.6.0 if you’re using 6.0. The “Microsoft” namespace is actually older and is only implemented in MSXML3 for legacy support. It’s unfortunate we used the “better” name on the older version, but stick to the “msxml2” namespace when instantiating objects.
Microsoft.XMLHTTP
MSXML2.XMLHTTP.3.0
MSXML2.XMLHTTP.6.0
2.1m questions
2.1m answers
60 comments
57.0k users