Hello Guys, i started making a webbrowser based to internet explorer on visual basic.

I wanted to make the text where we input the URL to navigate to update with the current URL of the site. for example if im on google it will say http://google.com , it doesn't. how can i do this? can i do this with a timer?

If you have not understand clearly. What i want to do is make the textbox1's text to update according to the URL of the Browser.

im on youtube.com
then textbox1.text = youtube.com

But how to make this work?
I Tried this and it did not work

    Private Sub Timer1_Tick_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        TextBox1.Text = (WebBrowser1.Url.AbsoluteUri.ToString)
    End Sub
Then it stop debbuging and throw me to a screen like something's wrong with the script!!! Help me!