i have got a multiline textBox1 and webbrowser1
when the the document complete, i want the program to fill an element with one line then do something then refill the same element with the second line etc…………
the code is:
HtmlEleme ele = webBrowser1.Document.GetElementById("element ID");
if(ele != null)
ele.InnerText = textBox1.Lines[0];
how could i make this ( for while or…..) and how???
and where i should put the code ?
If your browser will load page when you click the button you can follow this:
On the other hand I must warn you about the drawbacks of
Application.DoEvents()