I am using this WebBrowser component in a C# project.
I have declared and use "_wb" as shown below::
string httpcmd = @"https://...........";
System.Windows.Forms.WebBrowser _wb = new System.Windows.Forms.WebBrowser();
_wb.ScriptErrorsSuppressed = false;
Uri myuri = new Uri(httpcmd);
_wb.Url = myuri;
while (_wb.ReadyState != System.Windows.Forms.WebBrowserReadyState.Complete)
The above code in within a class.
Once my program uses the above code once, it then does seem possible to change.
i.e. After the first iteration, nothing changes each time the code is run.
The DocumentText property I reference stays the same once it is set.
It is like the URI is not even re-sent.
Only if I close the application and then re-run then the webbroweser will update as desired.
I have seen many references to this problem but have not been able to resolved it.
Can anyone suggest how to get this componet to reset or clear so it behaves like I have re-run the application?
View Complete Post