VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Using MSHTML and VB NO MORE HTML PARSING

by [])utch[]v[]aster (18 Submissions)
Category: Internet/HTML
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

This code will create a new instance of internet explorer (although it will not be set to visible.) then it will goto the URL of you choice, and once the web page has finished loading it will get a list of a wide variety of HTML elements and place them in the Treeview. As you can see this is much easier than parsing each of these links all by yourself, and probably faster too.
Please note that the loop waiting for the web page to load is very sloppy, but was just added to demonstrate this functionality. Normally there should be code in the DocumentComplete Event of the InternetExplorer object to handle this functionality. Also, this code can be VERY easily changed to include functionality for ALL HTML tags.

Rate Using MSHTML and VB NO MORE HTML PARSING

Download Using MSHTML and VB NO MORE HTML PARSING

Download Using MSHTML and VB NO MORE HTML PARSING (30 KB)

Using MSHTML and VB NO MORE HTML PARSING Comments

No comments have been posted about Using MSHTML and VB NO MORE HTML PARSING. Why not be the first to post a comment about Using MSHTML and VB NO MORE HTML PARSING.

Post your comment

Subject:
Message:
0/1000 characters