hi,
In my program i have a textbox and a webbrowser and i am using vb.net
My question is how to get the web address of the a site that i navigate to web browser and display it in a textbox?
Like when we are browsing the internet the web address bar change whenever we leave the site and go to other sites.

i want my texbox to be look like the web address bar.

thank you in advance.

You get current url with

TextBox1.Text = WebBrowser1.Url()

HTH

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.