Board index » Visual Studio » iterate tables collection of webbrowser control, how
|
guustned
|
iterate tables collection of webbrowser control, how
Visual Studio204
I want to load a page in a VB6 webbrowser control then iterate through the table collections until I find the table I want, then iterate through the table headings or table cells to collect the text. Does anyone know of any examples of doing this? I added a component HTML Object Library so I could use variables to iterate through the two collections: Dim table As HTMLTable, tablecell As HTMLTableCell But I can't figure out how to access the tables collection,, neither of these works: with webbrowser1 .document.body.tables.count .document.tables.count TIA, Mike - |
