Rank: Newbie Groups: Member
Joined: 7/27/2021 Posts: 1
|
Hello good afternoon
I want a function that checks if WebView1 has loaded the page and then performs an action...
exemple
If WebView1 = "carried" Then
MessageBox.Show("loaded the page")
Else
MessageBox.Show("didn't load")
End If
I appreciate whoever can help me, thank you
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,200
|
Hi, The easiest way for you to do so is use LoadUrlAndWait:
Code: C#
//Load Google's home page and wait for it to be fully loaded
WebView1.LoadUrlAndWait("http://www.google.com");
//Do something else
.....
Hope this helps. Thanks!
|