Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Tracking progress on XMLHTTP request...

From: "Anthony Jones" <Ant@------------.--->
To: NULL
Date: 8/1/2007 9:03:00 PM

<hurricane_number_one@y...> wrote in message
news:1185991620.075743.80580@o......
> I'm using XMLHTTP60 in VB6 to download a file from a website. I have
> everything working fine, and a OnReadyStateChange handler that is
> catching when the transfer completes.  Is there any way to track the
> progress of the download and create a progress bar?  I have seen AJAX
> examples which do it, but it seems that VB6 doesn't update during the
> transfer, only when it is complete.  Is there anyway to achieve this?
>

You'll need to use something like WinHTTP to get events that occur
throughout the download. The downside is that it doesn't use the internet
settings or the cache of the current user.  Which means accessing stuff
through a proxy or using certificates can get messy.

-- 
Anthony Jones - MVP ASP/ASP.NET




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent