Creator Property

Microsoft FrontPage Visual Basic

Returns a String that represents the name of the application in which this object was created. If the object was created in Microsoft FrontPage, this property returns the String "FrontPage.Editor.Document".

Note  The Creator property for FrontPage is different from the Creator property used by other Microsoft Office objects. The Creator property for FrontPage uses a string format, while Office objects use a 32-bit integer to identify the application that created the file.

expression.Creator

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example checks if the creator of a file is FrontPage.

Private Sub GetCreator()
    Dim myCreator As String

    myCreator = ActiveWeb.RootFolder.Files(0).Creator

    If myCreator <> "FrontPage.Editor.Document" Then
        MsgBox "This file was not created by FrontPage."
    End If
End Sub