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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help pulling data from a webpage into my vb app.

Status
Not open for further replies.

jad73

Programmer
Apr 26, 2001
33
US
Here's the scenario. I need to pull data from a selection box in a web page to my vb app. I am using the webbrowser component to pull up the web page. Normally i would use something like this to pull the info.

text1.text = webbrowser1.document.frame(frame name).forms(o).selectionbox.value

where selectionbox is the name of the object.

The problem is I cant get into the correct frame to find the selectionbox object. I tried all frames i could find. It seems like there may be frames within the frames or something. I wrote to the developers of that page and they told me the frame scripting reference was "top.log", so then i tried entering that into the frame name. When i did that I got an exception error. I'm still kind of new to this. Does anyone have any ideas on how to do this, either code to reference that frame, or a complete workaround. Thanks.
 
Hi,

Sorry, can't help you with your specific problem, but I'm doing some work with the WebBrowser control and I'm pretty short on documentation and help for it. Is there anything you can email me, or somewhere I can download it from? If you search MSDN for WebBrowser it comes up empty!

- Andy.
(andy.groom@dial.pipex.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top