CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Location
    Sri Lanka
    Posts
    272

    ASP - Automatically reading data from another Web Site

    Hi Gurus!
    There is a website (not maintained by us) which publishes Telephone numbers of People in a country. The display consists of alphabatical search of names, the addresses & Tel Nos.

    What I want to do is:
    My application is an ASP with fields for Name & Tel Nos and a button. When I put the name (say exactly as appears in the other Site), I must get the tel no. corresponding to the name I have by means of some searching.
    Thanks for any sort of help
    Srinika

    If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it

  2. #2
    Join Date
    Jun 2001
    Location
    Ireland
    Posts
    56

    Re: ASP - Automatically reading data from another Web Site


    The best method to do this is to create an Internet Explorer object and set it's locationURL to the page you are look for and at the same time pass in the Parameters that page uses to search for the names.

    Do not make the object visible. Set HtmlDoc = IE.Document and return the text for parsing.

    If you want sample code just lect me by replying here!

    Don't forget to rate.

    Andrew Lennon (Berlitz)
    Automation Dev Engineer

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

Featured