CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    1

    Accessing applications outside of the C# program

    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.

  2. #2
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    Re: Accessing applications outside of the C# program

    Try this
    Code:
    System.Diagnostics.Process.Start(string.Format("http://google.com/search?q={0}", textBox1.Text));

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

Featured