I was just wondering how i could make it so that if the url of webbrowser1 contains http:_____
then

button1.visible = true

or if the webbrowser1 url does not contain the certain url then

button1.visible = false

Thanks A lot,

Hi,
You can use Navigated or Navigate Event. But this is new in .NET Framework 2.0

I think in the previous version NavigateComplete2 event

Private Sub WebBrowser1_Navigated(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatedEventArgs) Handles WebBrowser1.Navigated
   ' Your Coding
    End Sub
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.