Ultima modifica:
Per scaricare il file fai cosi :
Per collegare la progressBar al download, fai cosi :
PHP:
Imports System.Net.WebClient
Public WithEvents download As New System.Net.WebClient
Nel Button metti :
download.DownloadFileAsync(New Uri("Link download File"), "NomeFile.exe")
Per collegare la progressBar al download, fai cosi :
PHP:
Private Sub download_DownloadProgressChanged(ByVal sender As Object, ByVal e As Net.DownloadProgressChangedEventArgs) Handles download.DownloadProgressChanged
ProgressBar1.Value = e.ProgressPercentage
End Sub