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

r = URLDownloadToFile(0,spvPrintControllerURL & "?lotNo=" & lotNumber,pdfPath,0)


或者

patch=×××.pdf

FileByte = Inet1.OpenURL(spvPrintControllerURL & "?lotNo=" & lotNumber,icByteArray) Open pdfPath For Binary As #1 Put #1,1,FileByte Close #1

猜你在找的VB相关文章