I need access to the HTML source from a website for a program that I am writing using a web browser control. The program itself will be manipulating things based on the HTML but I'm having a problem.Based on something that I had seen I saw that allowing about 100 MS for the control to update the text should be enough.I have a timer event tied to trigger to save the \[code\]WebBrowser.Document\[/code\]/\[code\]WebBrowser.DocumentText\[/code\] to a globally accessible doc file, but the problem I am running into is that there is a Specified Cast Not Valid exception being thrown. When I try to look at what is inside the DocumentText property, nothing comes up. Setting a watch says that the function evaluation has been disabled because a previous function evaluation timed out.For now I'm just trying to print the \[code\]DocumentText\[/code\] using the \[code\]Console.WriteLine\[/code\] function but even that's not working.I guess in summation, I have no idea what I'm doing. Can someone direct me to a resolution or a solution that will achieve the results I am looking for?