文件名称:zeb
介绍说明--下载内容均来自于网络,请自行研究使用
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then DownloadFile = True
End Function
Sub checkweb()
Dim d As Date
d = #1/1/2002#
While d < #10/1/2002#
DownloadFile "http://22.220.2.222/asp/qu_result.asp?rpt_path=02510056" & Format(d, "yyyy-m-d"), "C:\Documents and Settings\Administrator\桌面\mm\temp.txt"
处理temp.txt文件的内容
d = d + 1
Wend
MsgBox "ok"
End Sub-AUTOMATIC DOWNLOAD THE DATA OF SERVICER.
Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then DownloadFile = True
End Function
Sub checkweb()
Dim d As Date
d = #1/1/2002#
While d < #10/1/2002#
DownloadFile "http://22.220.2.222/asp/qu_result.asp?rpt_path=02510056" & Format(d, "yyyy-m-d"), "C:\Documents and Settings\Administrator\桌面\mm\temp.txt"
处理temp.txt文件的内容
d = d + 1
Wend
MsgBox "ok"
End Sub-AUTOMATIC DOWNLOAD THE DATA OF SERVICER.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zeb 拷贝.jpg