Results 1 to 1 of 1

Thread: find the maching keywords and move to textbox3

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2011
    Posts
    137

    Unhappy find the maching keywords and move to textbox3

    Ttitle

    find and move the matching words from the textbox1 found links in textbox2 and add the maching found into textbox3 vb.net

    Hello maybe some one knows the code when i enter keywords to textbox1 and i want that found the matching words in textbox2 list to be moved to textbox3 and add these maching keywords

    example: this is a textbox1 and my keywords are fox training

    and this is textbox2 with all links in it.

    Now how to move fox training the maching keywords into textbox3 from textbox2 ?

    here is how i want to be added



    The code which i'm using is this but it is only aprat of my code

    Code:
       If (WebBrowser1.ReadyState = WebBrowserReadyState.Complete) Then
                For Each ClientControl As HtmlElement In WebBrowser1.Document.Links
                    Try
                        If Not ClientControl.GetAttribute("href").Contains("google") And ClientControl.GetAttribute("href").Contains("http") Then
                            TextBox2.Text = TextBox2.Text & ((ClientControl.GetAttribute("href"))) & vbCrLf
                        End If
    
                    Catch ex As Exception
    
                    End Try
    
                Next
            End If
    end sub
    Last edited by polas; Jan 14th, 2012 at 11:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width