Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read Webbrowser url box
#2
Hello

This is for the "Title" from the website

Code:
Private Sub WebBrowser1_Navigating(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
        Me.Text = WebBrowser1.DocumentTitle
    End Sub

This is for the "Url" from the navigated website

Code:
Private Sub WebBrowser1_Navigating(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
        Me.Text = WebBrowser1.Url.AbsoluteUri

    End Sub

but if you want to "Text" from the website and i assume that you mean text only i will have to work on that one a little
Website: <!-- m --><a class="postlink" href="http://www.PBAProductions.com">http://www.PBAProductions.com</a><!-- m -->
E-Mail: <!-- e --><a href="mailtoTongueatrick@AriSystems.Org">Patrick@AriSystems.Org</a><!-- e -->
Skype: Qwaxer
Youtube: Qwaxer
[Image: 2hnx8av.jpg]


Messages In This Thread
Read Webbrowser url box - by Protection4Real - 02-17-2011, 11:54 AM
Re: Read Webbrowser url box - by xolara - 02-17-2011, 01:26 PM
Re: Read Webbrowser url box - by redpois0n - 02-17-2011, 02:37 PM
Re: Read Webbrowser url box - by Protection4Real - 02-21-2011, 12:00 PM
Re: Read Webbrowser url box - by Protection4Real - 02-22-2011, 02:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  HTML - Editor How to create "Preview in Webbrowser " Button Himansh 2 12,562 05-21-2012, 12:08 AM
Last Post: Himansh
  vb.net code to read and convert color michaelfalade 1 9,435 06-30-2011, 10:52 AM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)