"WinHttp.WinHttpRequest.5" isn't a valid CLSID on my machine. Try this...
var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlHttp.open( "GET", "http://www.dqsd.net", false );
xmlHttp.send();
var response = xmlHttp.responseText;
Check docs for the IXMLHTTPRequest interface...
http://msdn.microsoft.com/library/en-us/xmlsdk/htm/xml_obj_ixmlhttprequest_8bp0.
asp
----- Original Message -----
From: "Stefano Bagnara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 7:54 AM
Subject: [DQSD-Devel] how to instantiate ActiveXObject
> I need to use an MS object inside one of my javascript trying to extend
> DQSD.
> trying this command:
> var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5");
> I get error 429 about automation object that cannot instantiate the object
> required.
> The error is the same I get if I try to use
> DQSDLauncher = new ActiveXObject("DQSDTools.Launcher");
> in a javascript not loaded by DQSD.
>
> Can you help me?
> My goal is to fill a js variable with the content of a remote url, and i
> found documentation about this WinHttpRequest object... any suggestion?
>
> -b-
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel