Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: VB5,VB6,IE4
Expertise: Intermediate
Aug 25, 2001



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
Marco Bellinaso
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date