Page 2 of 2 FirstFirst 12
Results 41 to 43 of 43

Thread: VB6 Download multiple files at once: no API, no extra dependency

  1. #41
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6 Download multiple files at once: no API, no extra dependency

    Quote Originally Posted by Zeev View Post
    I dont get it, where do I download the Downloader.ctl file?
    Merri probably removed the file if he had uploaded it at all! The good news is that is posted the code used in the "Downloader.ctl" in the first post. That being said you you should need to do is create a new user control and add the first code Merri posted in the first post.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  2. #42
    Lively Member
    Join Date
    Oct 2011
    Posts
    80

    Re: VB6 Download multiple files at once: no API, no extra dependency

    Inet? Winsock?

    They both need a OCX file..
    API is much better.

    It does not need a OCX or dll becuz windows already have that dll.
    And it will work in vista/windows 7
    Best Regards

  3. #43
    Hyperactive Member
    Join Date
    Apr 2021
    Posts
    482

    Re: VB6 Download multiple files at once: no API, no extra dependency

    I KNOW this is decades old, but I just wanted to point out that you've got a bug in the code, Merri...

    When you have finished downloading the file, you put the byte array AsyncProp.Value into strData but you fail to convert to unicode (as strings will usually be unicode, I assume always but I don't know what things were like when you actually wrote this).

    I assume you introduced this bug when changing the code from byte array output to string output :-)

    Well, in a way it's a bug...you do the strconv elsewhere in the case of the original code (in your example)...but it wasn't obvious that this was needed :-P
    Last edited by SmUX2k; Aug 8th, 2023 at 04:03 PM. Reason: Correction

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width