VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Download File from Net

Kieran Smith  (1 Submission)   Internet/HTML   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Downloads a file to the host's computer from the internet via api.

Assumes
This is useful for downloading files to the users computer for updates of the current program. This is the code i have used for this purpose.

API Declarations
Private 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

Rate Download File from Net (11(11 Vote))
Download File from Net.bas

Download File from Net Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters