How do I instanciate a MSXML2.XMLHTTP60 object?



Hi,

In My VBScript the following instruction creates a Microsoft.XMLHTTP
version three object.

Set oHTTP = WScript.CreateObject("Microsoft.XMLHTTP")

How do I tell VBScript to create a Microsoft.XMLHTTP version six
object?

In Excel the instruction would be:

Set xml = New XMLHTTP60

Thanks.




.



Relevant Pages

  • Re: How do I instanciate a MSXML2.XMLHTTP60 object?
    ... In My VBScript the following instruction creates a Microsoft.XMLHTTP ... Microsoft.XMLHTTP => IXMLHTTPRequest ... Microsoft.XMLHTTP.6.0 => ActiveX component can't create object ...
    (microsoft.public.scripting.vbscript)
  • Re: String to int conversion
    ... this is VBScript we are talking about. ... The VBScript runtime sits in a loop, grabbing bytecode tokens and executing ... It takes roughly 70 to 90 lines of C++ code to execute each simple ... bitwise AND instruction and a remainder instruction. ...
    (microsoft.public.scripting.vbscript)
  • Re: get a textfile from website into memo
    ... HTTP Request like: ... 'Begin VBScript ... Dim oHttp ... Set oHttp = CreateObject ...
    (alt.comp.lang.borland-delphi)
  • Re: Recommended Approach
    ... Dan heres a vbscript that download a zip file from web, ... set oHTTP = WScript.CreateObject ... oStream.savetofile sDest, adSaveCreateOverWrite ...
    (microsoft.public.sqlserver.security)
  • How to set a timeout on a send method?
    ... I have a vbscript that checks the stats of a web page on a ... server in my web farm and then act on that status. ... dim oHTTP ... set oHTTP = WScript.CreateObject ...
    (microsoft.public.scripting.vbscript)