I solved it :) I added while loop which waits, until webBrowser. Document property is completely initialized. Than I used webBrowser.Document.
CreateElement for creating new html elements, and webBrowser.Document.Body. AppendChild to adding them into document. (I stopped using temporary file...).
Up vote 0 down vote favorite share g+ share fb share tw.
I have problem with WebBrowser component. For some reason, when I click into it, it disables me from setting focus on richTextBox. I have 2 almost the same forms.
Main difference between first and second form is, that form1 is modifying WebBrowser DocumentText and form2 is using webBrowser to display content of temporary file. First form is working very well, WebBrowser is not disabling focus on richTextBox. But second form is problematic one.
When you click into WebBrowser component, and than back into richtextBox, it never gains focus by Focus() method again :( c# winforms focus webbrowser-control richtextbox link|improve this question edited Mar 4 '11 at 14:58abatishchev22.8k953136 asked Jan 12 '10 at 18:22Klinki13218 67% accept rate.
Holy sh*t! Thats the longest 'question' I've seen so far. Maybe you can shorten it down to readable proportions?
– Webleeuw Jan 12 '10 at 21:29 Do you mind code in question or description of problem? – Klinki Jan 13 '10 at 6:47.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.