Click here to Skip to main content
11,803,019 members (82,432 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Windows
Hey all,
I am making a program in which it gets all the websites in one search page and gets the url or those websites then it will show all of the websites in a text box. Not a web browser.
I mean like when Client Enters a search My program will write all the websites names. Using Google. Like imagine in google i enter 'Hello'. Then my tool finds all websites in the page and lists them in a text box

How can i do that
Posted 5-Nov-12 10:26am
Edited 5-Nov-12 10:52am
Sergey Alexandrovich Kryukov at 5-Nov-12 16:28pm
All Web sites? No, too many... How about almost all? :-)
Cyberwarfare at 5-Nov-12 16:52pm
Okay sorry I improved my question now please hope you all understand
Mathlab at 5-Nov-12 16:55pm
Do you just want a page search or to search the entire web?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This looks like something called Web scraping:[^].

Please see my past answers explaining what's involved:
How to get the data from another site[^],
get specific data from web page[^].

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You can use either Bing API or Google API to perform the search for a keyword and list your websites (results)

for bing.[^]

for google[^]

You use these APIs from anywhere, windows forms, wpf, silverlight or

if you already have a page listing the content that you need to scrap, then use Sergey's approach (above)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 KrunalRohit 356
1 OriginalGriff 335
2 CPallini 270
3 F-ES Sitecore 270
4 Sergey Alexandrovich Kryukov 234
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,735
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 5 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100