MissouriTiger
Programmer
Greetings,
I am writing a VB app for a client which parses a Web page looking for a number in a certain location on the page. I've tried using the Inet control and loading the html into a rich textbox, then parsing the html from the rich textbox.
Unfortunately, this won't work, because the html that loads via the Inet control isn't the same html that loads in the browser (probably an issue with cookie or IP address detection) and the number I need to parse for isn't there. I need the exact same web page that one sees in the browser.
So, I tried placing a browser control on the form and it loads the normal web page like I hoped, but I can't figure out how to get at the html in the browser control to parse it.
Is there some way to get the html from the browser control over to the rich textbox? Or is there some other way around this?
Whoever solves this problem, lunch is on me!
-Greg
Greg Norris
Software Developer
________________________________________________
Constructed from 100% recycled electrons.
I am writing a VB app for a client which parses a Web page looking for a number in a certain location on the page. I've tried using the Inet control and loading the html into a rich textbox, then parsing the html from the rich textbox.
Unfortunately, this won't work, because the html that loads via the Inet control isn't the same html that loads in the browser (probably an issue with cookie or IP address detection) and the number I need to parse for isn't there. I need the exact same web page that one sees in the browser.
So, I tried placing a browser control on the form and it loads the normal web page like I hoped, but I can't figure out how to get at the html in the browser control to parse it.
Is there some way to get the html from the browser control over to the rich textbox? Or is there some other way around this?
Whoever solves this problem, lunch is on me!
-Greg
Greg Norris
Software Developer
________________________________________________
Constructed from 100% recycled electrons.