IHTMLFrontPageBotElement2 Object

IHTMLFrontPageBotElement2

Represents a component in Microsoft FrontPage. See also the IHTMLFrontPageBotElement and IHTMLFrontPageBotElement2 Object objects.

Using the IHTMLFrontPageBotElement object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the FrontPage components in a document. Use the Item method to access an IHTMLFrontPageBotElement2 object that accesses a specific FrontPage component, referenced by ordinal number or by the value of the id attribute. The following example accesses the first FrontPage component in the active document.

Dim objWebbot As FPHTMLFrontPageBotElement

Set objWebbot = ActiveDocument.all.tags("webbot").Item(0)

Methods | getBotAttribute Method | removeBotAttribute Method | setBotAttribute Method

Parent Objects

Child Objects