Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebBrowser1.Navigate loop question

Status
Not open for further replies.

MrMajik

IS-IT--Management
Apr 2, 2002
267
I want to go to a yahoo website and pull down historical stock prices for several stock symbols using WebBrowser1.Navigate.

WebBrowser1.Navigate will go to the yahoo site and I am able to save the webpage text to a text file by using

WebBrowser1.Document.body.innerText

However, I am only able to get the data from one webpage as only one web page will load.

This is what I am trying to accomplish:
1. Open webpage that has historica stock symbol prices. (This works)
2. Save data from webpage to text file. (This works)
3. Close webpage. (This works)
4. Scan text file for webprices and send prices to a Flexgrid. (This works)
Repeat steps 1 thru 4 until all stock symbol prices are collected. (This does not work as I can only get one stock symbol webpage to open and I need several yahoo historical web pages to open, one at a time.)

Any ideas?
Thank you.

Thank you,

MrMajik

There are 10 types of people in the world:
Those that understand binary and those that don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top