Could someone tell me the code for copying data from a webbrowser control programmatically.
The following code copies all the text without any kind of formatting:
clipboard.clear
clipboard.settext w.document.all(0).innertext
and the following code copies the HTML data:
clipboard.clear
clipboard.settext w.document.all(0).innerhtml
w is the WebBrowser control.
I tried the code from the following site, but it doesn’t work for me:
http://www.devx.com/vb2themax/Tip/18433