Getting data from webpage using WebBrowser
Posted on 2003-10-30
I'm trying to get data from a webpage into my VB app. The department I'm in submits all of their defects in TeamTrack (this is the website). We also need to list all these defects in some sort of defect log (my vb app). I would like to catch all the info I need for the defect log when they submit the defect in teamtrack. I messed around with another intranet site we use and I was able to get values from the site by using the document property of WebBrowser control - code: Text1.Text = WebBrowser1.Document.Forms("frm").lastname.Value I'm having trouble with the TeamTrack website, and I think, but I'm not sure, it's because the TeamTrack website is in frames. Any ideas on how I can do this?
I'm in the process of researching as I'm not sure of the best way to go about doing this. I came across the WebBrowser control so I'm trying to accomplish what I need to do with it. If anyone has a simpliar or more efficient solution, please let me know.
Sorry this is so long. Any help would be greatly appreciated. Thank you in advance.