Results 1 to 4 of 4

Thread: Query online database

  1. #1

    Thread Starter
    Member VbAndersonic's Avatar
    Join Date
    Aug 2001
    Location
    Derby, UK
    Posts
    58

    Question Query online database

    Ok, ive posted this before and I have had some replies but they still havent been what i am looking for. I want to query a search engine's database (eg Google) and receive the list of URLs it returns and input them into a listbox. Is there a way to do this? Please help, i am desperate! I know there is a way, as WebFerret does this using the Winsock control.

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    if you wanna spend some money, there is an add in control you can get :
    http://www.vbworld.com/articles/webzinc/

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    ok i think i can help you now!

    Basically use the internet control!

    Like so:

    Private Sub Command1_Click()
    WebBrowser1.Navigate "http://www.google.com/search?q=" & Text1.Text
    End Sub

    To save the results either save the pages url into an access db or copy and past the page into a rich text box or something!

    Good luck

  4. #4

    Thread Starter
    Member VbAndersonic's Avatar
    Join Date
    Aug 2001
    Location
    Derby, UK
    Posts
    58
    Thanks, but thats what I wanted to avoid. At the moment, I am doing what you suggested by downloading the search URL and scanning it for links. This is messy and unrelialble, but I dont think there is any other way.

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