search all text in document html page

search all text in document html page

Page 1 of 1

0 Replies - 902 Views - Last Post: 10 June 2009 - 01:07 AM Rate Topic: -----

#1 bagonks  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 21-May 09

search all text in document html page

Post icon  Posted 10 June 2009 - 01:07 AM

Dim _Html As String
		_Html = WebBrowser1.document.Body.InnerHtml
		Dim str() As String = _Html.Split(" ")
		For Each i As String In str
			If (i = txtSearch.Text) Then
				MessageBox.Show("Found")
			End If
		Next
 


but txtSearch in mysettings.sites

I have a mysettings.sites that contains many sites/text.
It is someething like:

google
porns

I need to read this string, and so on.

Do you know how that can be done?

Thanks a lot.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1