Extension Property

Microsoft FrontPage Visual Basic

Returns a String that represents the extension for the specified file. Read-only.

expression.Extension

expression    Required. An expression that returns a WebFile object.

Example

This statement returns the extension of the first page in the root folder of the active Web site.

myHomePageExt = ActiveWeb.RootFolder.File(0).Extension