hello world

调用IE下载API函数来下载文件

 Private Declare Function DoFileDownload Lib "shdocvw.dll" (ByVal lpszFile As String) As Long

Private Sub Command3_Click()
Dim sDownload As String
sDownload = StrConv(Text1.Text, vbUnicode)
Call DoFileDownload(sDownload)
End Sub

posted @ 2015-09-08 14:21  浩天四哥  阅读(391)  评论(0)    收藏  举报