You are here:

Visual Basic/VB Web Broswer Address Bar - how to show the current address?

Advertisement


Dave wrote at 2013-02-18 08:43:06
hi



try this:

Private Sub WebBrowser1_DocumentCompleted(sender As System.Object, e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted

       TextBox2.Text = WebBrowser1.Url.AbsoluteUri

   End Sub



it should work



Dave


Visual Basic

All Answers


Answers by Expert:


Ask Experts

Volunteer


Frank G. Dahncke

Expertise

I can answer most questions realating to real-world application programming in Visual Basic .NET (including SQL-Server 7.0 and up). I NO LONGER ANSWER VB6 QUESTIONS. My speciality is GUI/frontend work and API calls. I do not know about Internet, games or graphics programming, just the bread-and-butter stuff. I answer questions in German as well.

Experience

Experience: I have been programming BASIC applications professionally for 22 years now (2007), having done most any application type from multimedia CBT to telephone directories to database frontends. Organizations: RA-MICRO Software GmbH

©2016 About.com. All rights reserved.