Results 1 to 2 of 2

Thread: Internet Type Question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Lisle, IL USA
    Posts
    20

    Question

    Hello,

    I have a question, I want to create a program that will go out to a webpage, and get the information on the page. The webpage will require input before the information can be grabbed, also the info will be in a table format...I think. If anyone has any suggestions or any pointers on how to get this going or where to go for ideas I would appreciate it.

    Basically, I am trying to create a VB program that goes out, and get Currency conversion information from the web and downloads it to a text file.

    Again any help would be greatly appreciated.

    Thanks,
    Kevin Ertsman
    Programmer/Analyst
    Delta Dental Plan of Illinois

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Ok...assuming you mean the source code after submiting values.
    Code:
    Dim html As String
    WebBrowser1.Document.Forms(0).currency1.Value = Text1.Text
    WebBrowser1.Document.Forms(0).currency2.Value = Text2.Text
    WebBrowser1.Document.Forms(0).submitbuttonname.Click
    'Do a DoEvents loop here
    
    'this will store the returned html in a string
    html = WebBrowser1.Document.InnetHTML
    What you would have to do after that is parse the returned html to a degree where it will only display desired values.
    If you need further assistance with the parsing or any other part, e-mail me with the specifics and i will be glad to assist you further.

    Gl,
    D!m
    Dim

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