Load webpage

  • Thread starter Thread starter Esteban
  • Start date Start date
E

Esteban

Hi,

I would like to know if there's a way to load a webpage, like
www.google.ca on a CSharp app then execute a query like a search on the
string "csharp" on the google's text area, then execute the search and
load the new webpage(results) so i can now extract the information i
want to put on a DB or text file.
I don't know if i'm clear because english isn't my mothertongue.

Thank you for any help!
 
In .Net 2.0 there's a webbrowser control which you could use; in .Net
1.1 you can set a reference to mshtml.ocx (i think). that will create
an interop assembly. To execute a search though you'd have to build
the querystring to google yourself.

BTW, either way, you'll be using IE in the background.
 
Back
Top