Hello guys i want to copy a text from a webpage.. BUT it is like this
![Name: screenshot_18.png
Views: 101
Size: 7.5 KB]()
I was triying something like this:
But i get that a webbrowser cannot get converted to a string something like that.. So... Anyone can help me guys ? Thanks in advanced
Sorry my bad english.
EDIT1: Searching and searching i foun this.. and it dont show me if i did it fine or no. because it start after the page loads completely.. This is the code that i use
EDIT2: FOUND THE SOLUTION!!!...
Ok... Now is there a way to copy that text and paste it into a richtextbox1 ? Is there a way ? something like
?? SOmething like that ? Thanks in advanced guys.
EDIT3: THANKS GUYS I SOLVE ALL. THANKS.
I was triying something like this:
Code:
textbox2.text = webbrowser1.document.getelemtbyid("meltmail")Sorry my bad english.
EDIT1: Searching and searching i foun this.. and it dont show me if i did it fine or no. because it start after the page loads completely.. This is the code that i use
Code:
For Each element As HtmlElement In Me.WebBrowser1.Document.GetElementsByTagName("div")
If element.GetAttribute("className") = "meltmail" Then
Dim str As String = "HELLO"
MessageBox.Show(str)
End If
NextOk... Now is there a way to copy that text and paste it into a richtextbox1 ? Is there a way ? something like
Code:
clipboard.copy
aweofiwaeifoja
aoeifajfEDIT3: THANKS GUYS I SOLVE ALL. THANKS.