Kccc

while i was playing around with my program i decided to make a google search feature,

this is how to do it! step by step!,

1. add a toolstrip and make a toolstriptextbox,

2.add a toolstripbutton,

3.double click the button on your toolstrip, and make this code,

Private Sub ToolStripButton8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton8.Click
WebBrowser1.Navigate("http://www.google.com/search hl=en&q=" + ToolStripTextBox2.Text + "&btnG=Google+Search")
End Sub


Re: Visual Basic Express Edition cool webbrowser discovery!

Chris

That's a cool discovery. It's probably the easiest way to google search from a web browser in VB. You could also make the browser navigate to google, auto-fill the textbox, then press the search button. Its a lot more complicated, so I would probably suggest using your method in most cases.