Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / August 2005



Tip: Looking for answers? Try searching our database.

MSXML2.XMLHTTP - how to "plug" to progress bar?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Iwanow - 30 Aug 2005 10:38 GMT
Hello,

How can I connect object MSXML2.XMLHTTP with a progress bar to show how
much data already has been downloaded?

How to get size of dynamically created XML file from a remote HTTP
server?

Thank you in advance for any hints.

Signature

Regards,

Konrad

Dag Sunde - 30 Aug 2005 13:22 GMT
> Hello,
>
> How can I connect object MSXML2.XMLHTTP with a progress bar to show how
> much data already has been downloaded?

In no easy way if you do a plain "GET" or "POST".
The server just sends out a steady stream of data, without any
"chunking" you can intercept...

But you could fake it with a progressbar-like control that moves back
and forth while "readyState" <> 4

> How to get size of dynamically created XML file from a remote HTTP
> server?

Do a "HEADER" request first... "content-length" should be one of the
header fields.

Signature

Dag.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.