We use CSS and .HTC behaviors to customize the look (and sometimes function)
of a WSS site. We do this by associating foo.htc with a WSS CSS class.
However, in our foo.htc, when we use to use
var oHTTP = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
... we get the error:
Microsoft Internet Explorer
Name: Error - Message: Automation server can't create object
Any ideas on why this doesn't work. As a counter example, we don't have
any problem using similar code with the XML DOM:
var xml = new ActiveXObject("MSXML2.DOMDocument.3.0");
Do you know someone who can help? Share a link to this thread on twitter, or facebook.