-
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
-
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