FPHTMLEmbed Object

Microsoft FrontPage Visual Basic

FPHTMLEmbed Object

FPHTMLEmbed Multiple objects

Represents an EMBED element in an HTML document. See also the IHTMLEmbedElement object.

Using the FPHTMLEmbed Object

Use the embeds or plugins property to return an IHTMLElementCollection collection that represents a collection of all the EMBED elements in a document. Use the Item method to return an FPHTMLEmbed object that accesses a specific EMBED element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first EMBED element in the active document.

    Dim objEmbed As FPHTMLEmbed

Set objEmbed = ActiveDocument.embeds.Item(0)