I use an INet control to download a few files... and any files over 10 or so megs are just unbearably slow. I have other programs which download the same files usings BITS technology, and also a similar program using the WebClient in .NET and in both those cases the downloads run just fine... so I'm able to eliminate network issues and the like... and basically narrow it down to this INet Control.
Is there a better way for me to download large files from within a VB 6.0 Program, or even just another option I could play with?
Below is how I'm using INet control to download the files...
Thanks for any and all help.
-Rob
Is there a better way for me to download large files from within a VB 6.0 Program, or even just another option I could play with?
Below is how I'm using INet control to download the files...
Code:
Private Sub GetFile(sSource As String, sDestination As String)
Debug.Print sSource, sDestination
Dim x() As Byte
Inet1.URL = sSource
x = Inet1.OpenURL(, icByteArray)
Open sDestination For Binary Access Write As #1
Put #1, , x()
Close #1
End Sub
Thanks for any and all help.
-Rob