D
dudu
Hi,
I want to get all elements ids from a page, including ids of VML graphical
objects.
I used Application.ActiveDocument.All collection from FrontPage 2003 Object
Model but the id of the VML graphical objects is not returned.
Here is the code:
Dim objElements As IHTMLElementCollection
Set objElements = Application.ActiveDocument.body.All
For Each obj In objElements
lvwObj.ListItems.Add , , obj.tagName + "_" + obj.Id
Next
obj.tagName for an <v:rect> tag is display as "xxxescher" ?!? and id string
is empty.
My question is how can I get the correct ids of the all VML graphical
objects.
Please help me!!!
Thanks.
I want to get all elements ids from a page, including ids of VML graphical
objects.
I used Application.ActiveDocument.All collection from FrontPage 2003 Object
Model but the id of the VML graphical objects is not returned.
Here is the code:
Dim objElements As IHTMLElementCollection
Set objElements = Application.ActiveDocument.body.All
For Each obj In objElements
lvwObj.ListItems.Add , , obj.tagName + "_" + obj.Id
Next
obj.tagName for an <v:rect> tag is display as "xxxescher" ?!? and id string
is empty.
My question is how can I get the correct ids of the all VML graphical
objects.
Please help me!!!
Thanks.