How can i get the content from HTML, removing the elements around it.
I am looking for an example using VB6
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use Internet Explorer as a COM object (without showing it on screen). For example to get a plain-text version of the HTML:
You could also walk the element tree to do something more complicated.
Credit: Karl Peterson in Visual Studio Magazine.