Search Tools Links Login

Easy Web Site File Download

Download any file off the internet. With this 2 line code snippet. This can download HTML File all the way to zip files. Easy And Quick

Original Author: Joe Healey


Easy to use, just one declaration and one call function

API Declarations

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


call URLDownloadToFile(0 ,"" ,"",0,0)
'Just replace with whatever file you want to DL
'Just Replace with where and What File Name you want to save to

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 99 times


Visual Basic 6


No attachments for this post

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.