Link to home
Start Free TrialLog in
Avatar of ehmf
ehmf

asked on

Web browser control in Visual Studio .Net 2005 (J#)

Hi all

I am using the web browser control in visual studio .net 2005 (J#). I need to select & copy certain text content in the document.

I am using the attached code, but it returns the html source of the document not the text.



String x;
x = webBrowser1.get_DocumentText();
textBox1.set_Text(x);

Open in new window

Avatar of daveamour
daveamour
Flag of United Kingdom of Great Britain and Northern Ireland image

What is it you are after - ie what is the "text" ?
Avatar of Causality
Causality

how you want to select the text ?
via code ?
Can you explain your question ?
ASKER CERTIFIED SOLUTION
Avatar of jinal
jinal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial