Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

StackOverflow Point

StackOverflow Point Navigation

  • Web Stories
  • Badges
  • Tags
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Web Stories
  • Badges
  • Tags
Home/ Questions/Q 1606
Alex Hales
  • 0
Alex HalesTeacher
Asked: May 30, 20222022-05-30T21:20:33+00:00 2022-05-30T21:20:33+00:00

vb.net – VB WebView2 Progress Bar Using an Equivalent for the ProgressChanged Event

  • 0

[ad_1]

We have been updating a VB app from WebForms to work with WebView2, and doing so caused issues with our progress bar. WebView2 seems to have barely any example documentation so it has been difficult to look into solutions, and I am somewhat new to the software we are updating, so I was wondering if anyone knows what the ProgressChanged event would be for WebView2 – here is our code (I believe where it says WebView.[…] it would have been WebForms.[…].

#Region "Web Browser"
''Status bar update
Private Sub WebView_ProgressChanged(sender As Object, e As WebBrowserProgressChangedEventArgs) Handles WebView.ProgressChanged
        If e.MaximumProgress <> 0 And e.MaximumProgress >= e.CurrentProgress Then
            ProgressBar1.Visible = True
            ProgressBar1.Value = Convert.ToInt32(100 * e.CurrentProgress / e.MaximumProgress)
        Else
            ProgressBar1.Visible = False
        End If
    End Sub
    ''Status bar update /end
#End Region

Thank you!

EDIT: Regrettably I had initially accidently noted this question as “C#” rather than VB by mistake, because most of our apps are C#, and I think this is why my question was downvoted – I hope now that the question has been fixed, that someone will be able to provide an answer. Thank you!

[ad_2]

  • 0 0 Answers
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report
Leave an answer

Leave an answer
Cancel reply

Browse

Sidebar

Ask A Question

Related Questions

  • xcode - Can you build dynamic libraries for iOS and ...

    • 0 Answers
  • bash - How to check if a process id (PID) ...

    • 5253 Answers
  • database - Oracle: Changing VARCHAR2 column to CLOB

    • 1098 Answers
  • What's the difference between HEAD, working tree and index, in ...

    • 1047 Answers
  • Amazon EC2 Free tier - how many instances can I ...

    • 0 Answers

Stats

  • Questions : 43k

Subscribe

Login

Forgot Password?

Footer

Follow

© 2022 Stackoverflow Point. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.