Here are the details of the exception:
And here's the source i'm dealing with atm.
Dim check As New StreamReader("localcheck.txt") Dim localcheck As String localcheck = check.ReadLine() 'Dim check2 As New StreamReader("http://snip.com/") Dim remotecheck As String 'remotecheck = check2.ReadLine() remotecheck = WebBrowser1.document.GetElementById("check").InnerText If remotecheck <> localcheck Then 'Do stuff End If End If
And here is the code for the HTML page that it's grabbing the element from:
<body id="check"> Stuff here </body>
I'm not at all used to working in VB, and i'm not sure if i did that HTML right either, so that could be the problem.
This post has been edited by cfsharp: 09 July 2011 - 06:51 PM