- Home
·
- Internet/HTML
·
- Downloads any file from the given URL to a local path specified.
Downloads any file from the given URL to a local path specified.
Downloads any file from the given URL to a local path specified.
API Declarations
(ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Rate Downloads any file from the given URL to a local path specified.
(1(1 Vote))
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then DownloadFile = True
End Function
Private Sub Command1_Click()
DownloadFile "http://www.visualbuilder.com/images/visualbuilder_logo1.gif", "c:\temp\Temp.gif"
End Sub
Downloads any file from the given URL to a local path specified. Comments
No comments yet — be the first to post one!
Post a Comment