Click to See Complete Forum and Search --> : Retrieve Table Names


vmahalin
04-10-2003, 10:57 AM
How to retrieve table names mentioned in an html file , using VB code......

Dim nameTables As mshtml.IHTMLTable

Set nameTables = UserControl.Parent.Script.document.All.tags("TABLE")

MsgBox nameTables.id


The above mentioned code doesnt seem to work

Anyone

Jona
04-10-2003, 02:48 PM
Hey, you'd probably be better off asking this in the ASP forum.

khalidali63
04-10-2003, 03:30 PM
Originally posted by vmahalin
How to retrieve table names mentioned in an html fil.......

And one very important thing,html tag <table> does not have an attribute "name" (see specs html 4+) at
http://w3c.org

Cheers

Khalid

Jona
04-10-2003, 03:33 PM
But you can use ID.