按照ADO文档,ADODB.Stream可以打开URL:Stream.Open Source, Mode, OpenOptions, UserName, PasswordSource 
Optional. A Variant value that specifies the source of data for the Stream. Source may contain an absolute URL string that points to an existing node in a well-known tree structure, like an e-mail or file system. A URL should be specified using the URL keyword ("URL=scheme://server/folder"). Alternately, Source may contain a reference to an already open Record object, which opens the default stream associated with the Record. If Source is not specified, a Stream is instantiated and opened, associated with no underlying source by default. For more information about URL schemes and their associated providers, see Absolute and Relative URLs. 但自已以“URL=”方式调用Open()总是不成功,谁能给出一个完整的成功例子(VBScript,JScript,C++均可),非常感谢。安装的ADODB.Stream版本是2.8,是否与配置有关,请高手指点。

解决方案 »

  1.   

    http://search.csdn.net/Expert/topic/2417/2417422.xml?temp=.7990839
      

  2.   

    http://search.csdn.net/Expert/topic/2259/2259351.xml?temp=.8025629
      

  3.   

    感谢cindytsai这么快就给出回复,不过还是有点失望。使用XMLHTTP和内存模式的ADODB.Stream当然不会存在问题。如果ADODB.Stream能够象PHP的fopen()那样能够直接作用于文件或URL,而不必通过LoadFromFile()或SaveToFile()周转,在某些场合可能更有效率。还有ADO中的RDS.DataControl大家用过吗?它可以将SQL数据库接口直接嵌入到IE的HTML对象中,不过自己一直没能试验成功。希望高手指点。