Visual Basic: How to make a working progress bar for web browser.

Posted by: Admin  :  Category: Web Hosting Tutorials

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

Great forum with some tutorials: forum.maxmel-soft.com Free file hosting www.sharp-downloads.com 720p Tutorial. How to make a progress bar which shows a browser’s current progress. Code *Click on the WebBrowser1, click on Events, find ProgressChanged, double click and write: progressbar1.value = e.currentprogress Thanks For Watching!
Video Rating: 5 / 5

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

16 Responses to “Visual Basic: How to make a working progress bar for web browser.”

  1. GMmaxim Says:

    Which one?!

  2. GMmaxim Says:

    Check this maxcc. webs . com/downloads.htm
    Full tabbed browser. I stopped the project about 2 years ago. (it’s not open source sorry)

  3. aarontg777 Says:

    Why is this and where can I find it

  4. aarontg777 Says:

    I dnt have documentcompleted ?

  5. GMmaxim Says:

    Press the “+” icon in *.designer and you will see a code like “System.Drawing.Point = * *”. Copy this text and paste into the main form. But remember you will not see the design until you run/compile your program (F5 button).

  6. EnzoMSI Says:

    Well i didnt find the solution so i started again.. Now works, but new problem appeared! Can you please tell me how to get the standard Form1.designer with all of the buttons and images as i left it before saving the project? So i can add more buttons and edit some.. (I’ve only form1.vb.designer as code -.-)

  7. GMmaxim Says:

    Which VB.net are you using? 2008? 2010? or older?

  8. EnzoMSI Says:

    An error occurred creating the form. See Exception.InnerException for details. The error is: Failed to initialize because CategoryName is missing.

    I always get this.. No errors

  9. GMmaxim Says:

    No problem and thank you (:

  10. GamerzSpace Says:

    thanks it works 🙂  got subscribtion

  11. GMmaxim Says:

    Grap the code. This might help you. The video is made in version 2008 so that is why it is not working.
    ‘(in Events(webbrowser)->ProgressChanged)
    If e.MaximumProgress > 0L AndAlso e.CurrentProgress > 0L Then
    Me.ProgressBar1.Value = CInt(Math.Round((100 * e.CurrentProgress / e.MaximumProgress)))
    ElseIf e.MaximumProgress = 0L AndAlso e.CurrentProgress = 0L Then
    Me.ProgressBar1.Value = 0
    End If

  12. GamerzSpace Says:

    vb 2010

  13. GMmaxim Says:

    Which version of the VB.net are you using?

  14. GamerzSpace Says:

    dont work it saysvuel cannot equal 150
    then i tried both of your sugesstions and he says CurrentProg is not a member of System.windows.Forms ……..

  15. GMmaxim Says:

    Try this

    Try
     ProgressBar1.Maximum = e.MaximumProgress
    ProgressBar1.Value = e.CurrentProgress
    Catch ex As Exception
    MsgBox(ex.Message)
    End Try

    or this:

    ProgressBar1.Maximum = Convert.ToInt32(e.MaximumProgress)
    ProgressBar1.Value = Convert.ToInt32(e.CurrentProgress)

  16. LightsMB Says:

    I keep getting an error and it says value cannot equal 150 or something.

Leave a Reply

*