Parent Property Example

In this example, myParent returns the file type and build of the parent application for the active FrontPage-based web.

Private Sub GetParentInfo()
Dim myWeb As Web
Dim myParent As String
Dim myParentBuild As String

Set myWeb = Application.ActiveWeb

With myWeb
    myParent = .Parent.FileSearch.FileType
    ParentBuild = .Parent.Build
End With
End Sub