Flynn 1996
New member
- Joined
- Jan 29, 2011
- Messages
- 1
- Programming Experience
- 3-5
How do I get information from a string html?
Hi I am a new Italian member. I need your help.
I am working on a megaupload downloader and I can not take information from a string, that is this: <span class="down_txt2"> UltraMU.rar </ span>
It would be the name of the file that I want to download.
I tried with this code:
Private Sub WebBrowser1_DocumentCompleted (ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
dim c as string
c = WebBrowser1.DocumentCompleted.GetElementById (down_txt2)
End Sub
When I go to try it gives me the error and I can not fix it
You could write the code to be able to take the name of the file, in this case "UltraMU.rar?
Please help me. Thanks
Hi I am a new Italian member. I need your help.
I am working on a megaupload downloader and I can not take information from a string, that is this: <span class="down_txt2"> UltraMU.rar </ span>
It would be the name of the file that I want to download.
I tried with this code:
Private Sub WebBrowser1_DocumentCompleted (ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
dim c as string
c = WebBrowser1.DocumentCompleted.GetElementById (down_txt2)
End Sub
When I go to try it gives me the error and I can not fix it
You could write the code to be able to take the name of the file, in this case "UltraMU.rar?
Please help me. Thanks
Last edited by a moderator: