Solved

VB.Net, what event(s) fires after a WebBrowser.Refresh

Posted on 2014-12-08
2
411 Views
Last Modified: 2014-12-22
Hi,

How do I detect when a WebBrowser.Refresh has completed.

I note that I cannot use the DocumentCompleted event, that I use for Navigate calls.

Thanks,

Richard
0
Comment
Question by:rpm
2 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 500 total points
ID: 40486628
you can check  WebBrowser.ReadyState
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.readystate%28v=vs.110%29.aspx

if it equals complete your good :)
0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 40489265
If you refer to the Control on winform  is the DocumentCompleted Event that will be fired

WebBrowser1_DocumentCompleted(sender As Object, e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP/VB email question 4 62
Visual Studios 1 89
Code enhancement 4 33
Set arraylist as datatable 2 10
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question