Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get search results from a search engine in my program?

The Web

How do I get search results from a search engine in my program?

by  Decster  Posted    (Edited  )
void __fastcall TForm1::Button1Click(TObject *Sender)
{
String A = "http://www.altavista.com/sites/search/web?q=";
String B = Edit1->Text;
String C = "&FORM=SMCRT&cfg=SMCINITIAL&v=1&un=doc";
String Address = A + B + C;
CppWebBrowser1->Navigate(WideString(Address));
}
Go to all you favorite search engines, do a search and in your browser address window steal the address like I have in "String A" and don't use anything after the = sign!
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top