I am using a webBrowser control for displaying a webpage. While creating webBrowser I can change the value of a predefined tag. My problem is that in a timer_tick I want to change the same tag value. Here is my code
if (currentlyRunningObject.Equals(webBrowser1))
{
Application.DoEvents();
HtmlElement test = webBrowser1.Document.All["test"];
test.InnerHtml = "mmmmmmmm";
}
In the timer_tick I did the same thing but VS stopped debugging after it complete the last line execution.
find the solution here is code in timer tick