Advertisement
2_2002-2004 Internet/ HTML #115123

Using MSHTML and VB - NO MORE HTML PARSING!!!

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.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine