|
-
Jan 6th, 2003, 12:50 PM
#1
Thread Starter
Hyperactive Member
dowenloading large files with Inet
ok guys... this is a sub i created form a code i collected from somewhere.... but the thing is.. i cant.. donwload large files with it.. how do i correct this problem?
*******************************************
Private Sub Download(strURL As String)
Dim b() As Byte
Dim intCount As Integer
Dim strData As String
Inet.Cancel ' Stops any current operations
b() = Inet.OpenURL(strURL, icByteArray)
For intCount = 0 To UBound(b) - 1
strData = strData & Chr(b(intCount))
Next intCount
Open App.Path & NextFile For Output As #1
Print #1, strData
Close #1
MsgBox "d"
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|