Creator Property

       

Returns a string that indicates the application in which this object was created. If the object was created in Microsoft FrontPage, this property returns the string "FrontPage.Editor.Document". Read-only String.

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.

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