一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

用VBS写了一个获取下载文件的时间

时间:2008-02-10 编辑:简简单单 来源:一聚教程网

代码如下:
set xc=CreateObject("microsoft.xmlhttp")
xc.open "get","http://www.sohu.com",false
xc.send()
set gg=createobject("adodb.stream")
gg.type=1
gg.mode=3
gg.open
gg.write xc.responsebody
gg.savetofile "sohu.txt",2
gg.close
set xc=nothing
set gg=nothing
msgbox "程序运行成功!",16,"提示"

热门栏目