16,720
社区成员
发帖
与我相关
我的任务
分享
Sub downloadfile(ByVal path As String)
Dim client As New Net.WebClient
AddHandler client.DownloadDataCompleted, AddressOf downloadfilecomplite
client.DownloadFileAsync(New Uri(path), "FullFileName")
End Sub
Sub downloadfilecomplite(ByVal sender As Object, ByVal e As Net.DownloadDataCompletedEventArgs)
'文件下完了,继续后面的
downloadfile("nextFilePathToDown")
End Sub