标签归档:XMLHTTP

XmlHttp对象及其方法

MSXML中提供了Microsoft.XMLHTTP对象,能够完成从数据包到Request对象的转换以及发送任务。

1.创建XMLHTTP对象
创建XMLHTTP对象的语句如下:

Set objXML = CreateObject(Msxml2.XMLHTTP) 或 
Set objXML = CreateObject(“Microsoft.XMLHTTP”) 
' Or, for version 3.0 of XMLHTTP, use: 
' Set xml = Server.CreateObject(MSXML2.ServerXMLHTTP) 

继续阅读

HOWTO: Send a Binary Stream by Using XMLHTTP

适用于
This article was previously published under Q296772
SUMMARY
In some cases you may want to send a binary stream to a server. One way to do so is to use the IXMLHTTPRequest object. This article demonstrates how to retrieve an ADO recordset from a server, modify it, and send it back as a stream of binary data. 继续阅读