Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

% loaded of a webpage

Status
Not open for further replies.

hilliolouis

Programmer
Jul 22, 2005
51
GB
How would I go about retriving the currently loaded amount of a web page (integer between 0 - 1000) so that it can be placed in a progress bar, currently can only get wether it is loading or not (true or false)

Louis Hill
 
I think you want to be in the asp.net forum.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
No, why would I make a webbrowser in ASP.net, used for web applications (run over the net). One of the first projects you make in VB.net is make a web browser. All I want is how to get a % loaded of a web page from the WebBrowser Component.

Louis Hill
 
One of the first projects you make in VB.net is make a web browser.

Never. I would start with the OOP principles, but I guess you already know them.

Perhaps if your question was a bit clearer and stated that you used 2005 (first version to have the webbrowser) then we can be of more help.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Version 6.0 had a web browser in it and was where the project comes from. (check , on the free videos, in the programming section, VB6.0 basics, it shows how to make a fully functional webbrowser in 5mins). So to clear my question:
I am looking for the VB (2005 edition) to pull the % loaded of a web page from the web browser control, and then make the % into a number between 1 - 100. Then I can add the value to a progress bar to show progress. Sorry for any problems with clarity of question.

Louis Hill
 
Like I said in thread796-1161519 (which you haven't yet responded to) you'll have to have a look at the various events of the webbrowser that fire depending on it's current status and work it out from there.

It isn't going to be anywhere near as straight forward as you think though as how do you know how long it would take to load to be able to get the percentage?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top