[VB 2008]My Quick Search (fixed. read n delete post)
I have just started to develop a little small project for myself and friends who find it useful.
I have this Form called Search.vb and inside it is, TextBox1 and Button1. The TextBox1 is where the user inputs the 'key*****' he wants to search the internet. And the button executes it by searching the navigation located on another form which is called Form1. The Form1 has a webbrowser put in (No its not another WebBrowser shitty project) and is called WebBrowser1.
What i'm trying to do here is to make it so that Search.vb sends the users input 'key*****' in the WebBrowser1.Navigation and then display it using the WebBrowser.
for e.g. recent codes that i've tried to use.
Code:
Public Class Search
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form1.WebBrowser1.Navigate("http://www.google.co.uk/search?hl=en&q=", Me.TextBox1)
End Sub
End Class
It doesn't seem to work.
I hope someone can help, if needed, i can post more information.
- Secondly. What have you done with the word filter? You have filtered '*****' as if its bad. (w o r d s)
** Edit:: Not to worry, i fixed my problem.
Form1.WebBrowser1.Navigate("url" + Me.TextBox1.Text) was what i was looking for.
Delete thread please. And fix secondary problem ^ too :)