Phoenix_124

Hi,

What is the code for the status label so that it shows what the progress bar is doing like in IE. For example in IE where it says "Downloading 1 out of __ images and then leads to "Done". Please, This is my first ever success program and I want to make it good. May you please put it in full code. I will learn on whatever code you give me. Thanks!



Re: Visual Basic Express Edition How to set up Status Label for Browser

Chris

If your web browser is named webbrowser1 and the label is named toolstripstatuslabel1 and you had a progress bar named toolstripprogressbar1 then you would take these steps:

Make a timer, make sure it is enabled and put this code in the elapsed or tick event handler:

toolstripstatuslabel1.text = webbrowser1.statustext

For the progress bar put this code in the web browser's progress changed event handler:

toolstripprogressbar1.maximum = e.maximumprogress
toolstripprogress1.value = e.currentprogress

That code should display the status text and the current progress of the browser.




Re: Visual Basic Express Edition How to set up Status Label for Browser

Phoenix_124

Thanks.

I already got the code for progress bar on my browser but thanks for puttings some detail into it anyway. The status text works now. Never new it was that simple... Thanks again!