Webbrowser - Simple Fix's

Posts 1–3 of 3 · Page 1 of 1
Webbrowser - Simple Fix's
I have noticed on my friends, and on other's web browsers, they dont know how to fix things.... Stan

Here is how to make a get-currect-webpage

First this is pretty obvios, you can get do this but you will get a error
Code:
TextBox1.Text = WebBrowser1.Url
Error:
Code:
Value of type 'System.Uri' cannot be converted to 'String'.	C:\Form1.vb.webbrowser
Here is a easy fix:
Code:
TextBox1.Text = WebBrowser1.Url.ToString
Here is how to make flash errors go away
Code:
WebBrowser1.ScriptErrorsSuppressed = True
So if a error appears it will keep it in lol
\

Here is how to make it not freeze at start when u click home button.
Old Code:
Code:
WebBrowser1.Navigate("www.google.com")
New Code:
Code:
If WebBrowser1.Url.ToString = "" Then
        Else
            WebBrowser1.Navigate("www.google.com") 'or home
        End If
All the errors i could find that were easy to fix :>
If you don't know how to make a web browser {Follow a tutorial they are easy}
I don't really get this thread..
This is just common sense.. Come on..
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us