Results 1 to 4 of 4

Thread: Progress Bar?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2008
    Posts
    22

    Progress Bar?

    how to make one function for a webbrower?

    codes?

  2. #2
    Frenzied Member obi1kenobi's Avatar
    Join Date
    Aug 2007
    Posts
    1,091

    Re: Progress Bar?

    WebBrowser control for the webbrowser, ProgressBar control for the progress bar, create the code to approximate progress by yourself or you are never going to learn programming. Set the value of the progressbar with the Value property.

    If I remember correctly, you said that you were a beginner programmer. If so, I would urge you to learn how to create good, working algorithms. Try the tutorials at www.homeandlearn.co.uk (the VB.NET section).

    Also, it is a good idea to include the question in the title, and a detailed description in the post, as well as your VS/.Net version, instead of writing just a sentence or two in total.
    Please rate helpful ppl's posts. It's the best 'thank you' you can give

  3. #3
    Frenzied Member
    Join Date
    Jan 2008
    Posts
    1,754

    Re: Progress Bar?

    Here is some code:

    vb Code:
    1. Private Sub WebBrowser1_ProgressChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
    2.         progress.Maximum = CInt(e.MaximumProgress)
    3.         progress.Value = CInt(e.CurrentProgress)
    4.     End Sub

    Though as obi1 said you should learn more about this so if you have any quesitons about the code i supplied just ask.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Aug 2008
    Posts
    22

    Re: Progress Bar?

    Thank you both, im gonna take a look at the tutorials and try the codes too. oh dang i have another question but ill make a new post for it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width