-
Sep 11th, 2011, 03:15 AM
#41
Re: VB6 Download multiple files at once: no API, no extra dependency
Originally Posted by Zeev
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
-
Nov 17th, 2011, 04:31 PM
#42
Lively Member
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
-
Aug 8th, 2023, 04:00 PM
#43
Hyperactive Member
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
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
|