AboutSyed Rizwan Muhammad Rizvi Expertise I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.
Experience Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.
Expert: Syed Rizwan Muhammad Rizvi Date: 12/21/2006 Subject: Opening a webpage. Need to get data in a frame
Question Hi.
I am using VB.net 2005
This code loads a webpage perfectly.
dim contents as string
contents = Encoding.ASCII.GetString(wc.DownloadData(dd))
But.. this gets the (I think it's called the Frameset information.) Here is the first line in the string that is returned.
<!DocType HTML Public "-//w3c//dtd html 4.01 Frameset//EN'
I want to download the information that results. I believe that if I can get the information in frame #1, then I will get the information I want.
Thank you
Answer You can safely ignore this line, it only specified whether to use transitional or frameset HTML, it has got nothing to do with framesets in general. These lines are normally generated by editors like dreamweaver when the pages are created at the first place.