VB6 Async Download


Author: Dave
Date: 07.13.11 - 3:31am



Downloading files in VB6 usually entails either using the Synchronous UrlDownloadToFile Api (which completely hangs your interface until the download completes), some messy code and an external control, or a mountain of error prone code and the winsock control.

Turns out MS has a very slick way of doing async downloads already built in and requiring no external Api or controls! How could this be hidden from me for so long?! This is a thing of beauty.

Read it and weep for joy. I know i did.

How To Use the AsyncRead Method to Download Files - August 2004
MSDN Page AsyncRead Method




Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 75 + 64 = ? followed by the letter: L 



About Me
More Blogs
Main Site
Posts: (All)
2024 ( 1 )
2023 ( 9 )
2022 ( 4 )
2021 ( 2 )
2020 ( 4 )
2019 ( 5 )
2018 ( 6 )
2017 ( 6 )
2016 ( 22 )
2015 ( 15 )
2014 ( 25 )
2013 ( 4 )
2012 ( 10 )
2011 (7)
     C# Process Injection
     CAPTCHA Bots
     C# PE Offset Calculator
     VB6 Async Download
     Show Desktop
     coding philosophy
     Code release
2010 ( 11 )
2009 ( 3 )