Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim documentURL Dim dlFileName documentURL = "http://www.luyouqiwo.com/idnex.html" dlFileName = "d:/index.html" Dim wc As New System.Net.WebClient wc.DownloadFile(documentURL, dlFileName) End Sub |
转载请注明:vs2010» vb.net下载文件源码
标签: