title: C# open hidden browser and navigate
body: <p>I would like to code for opening a browser window whichever is default and navigate to a website make a click on a image. i tried too many google search but since i am extreme newbie to c# i couldn't achieve the result. i want to make a textbox too with a timer which display a mouse position to give in x,y coordinate to make a mouse click.</p>
  
  <p>Here is the code i tried.</p>
  
  <pre><code>var ie = (SHDocVw.WebBrowser)Activator.CreateInstance(Type.GetTypeFromProgID("InternetExplorer.Application"));
          ie.Visible = false; //for testing purpose i will make it visible.
          ie.Navigate("http://www.google.com");
  
          Location.X = Cursor.Position.X;
          Location.Y = Cursor.Position.Y;
  
          Console.WriteLine("x: " + Cursor.Position.X + " y: " + Cursor.Position.Y);
  </code></pre>
  
  <p>Please help me.</p>