| 发表于:2007-06-14 11:10:103楼 得分:0 |
方法1 my.computer.network.downloadfile( "http://www.longda.cn/mm.rar ", "d:\mm.rar ", " ", " ", true, 300, true) 方法2 dim client as webclient = new webclient() addhandler client.downloadfilecompleted, addressof mywebclient_downloadfilecompleted addhandler client.downloadprogresschanged, addressof mywebclient_downloadprogresschanged dim uri as uri = new uri( "http://www.longda.cn/mm.rar ") client.downloadfileasync(uri, "d:\mm.rar ") '只有异步下载才可以激活进度条 | | |
|