Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


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.

 

 

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