No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey, I am trying to get the html source of a web site but getting an "Internal Server Error (500)" instead. Why is it? What can I do? This is the code: [CODE]Public Function GetHtmlDocument(ByVal URL As String) As IHTMLDocument2 Dim request As HttpWebRequest = WebRequest.Create(URL) Dim response As HttpWebResponse … |
|
Hi, Can someone help me with this issue?? I am trying to get html element from a stream this is the stream: [CODE]Dim request As WebRequest = HttpWebRequest.Create("http://www.mysite.com/") Dim response As WebResponse = request.GetResponse() Dim stream As Stream = response.GetResponseStream()[/CODE] How can I get the html elements from it? (I … |