I just want to to change a label name from the backgroundworker, the code is plain simple:
and the error returned would be "Specified cast is not valid".Code:label1.text = WebBrowser1.DocumentTitle
Now running the code from a button would do the job, but from the bgworker not, and I can't seem to get around it.




Reply With Quote