Click to See Complete Forum and Search --> : Accessing applications outside of the C# program


bobmcgall
November 11th, 2009, 12:53 PM
Can someone show me how to search google using an application in C#. What I want to know is how to code a program so that when I press a button the text in a textbox will be entered into the search bar on google and then it will search for that on google but without me doing it manually.

Sorry its badly explained but I could really do with help with this.

dannystommen
November 12th, 2009, 03:45 AM
Try this
System.Diagnostics.Process.Start(string.Format("http://google.com/search?q={0}", textBox1.Text));