Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: [VB.NET]Problem with WebBrowser.
09-20-2010, 03:45 PM #1
- Join Date
- Apr 2010
- Thanked 0 Times in 0 Posts
[VB.NET]Problem with WebBrowser.
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