devxlogo

DownloadFile – Download a file using standard IE dialog

DownloadFile – Download a file using standard IE dialog

Private Declare Function DoFileDownload Lib "shdocvw.dll" (ByVal lpszFile As _    String) As Long' download a file from Internet and open the IE dialogs that allow the user' to choose where to save the file and to see the progress status' Example:'    DownloadFile "http://www.vb2themax.com/images/logomini.gif"Public Sub DownloadFile(ByVal URL As String)    DoFileDownload StrConv(URL, vbUnicode)End Sub

devx-admin

Share the Post: