IsHiddenFoldersEnabled Property

Microsoft FrontPage Visual Basic

IsHiddenFoldersEnabled Property

True to display hidden folders in the specified Web site. Read/write Boolean.

expression.IsHiddenFoldersEnabled

expression    Required. An expression that returns a WebEx object.

Example

The following example prompts the user to display hidden folders in the current Web site. The IsHiddenFoldersEnabled property is set based on the user's response.

    Sub ViewAllFolders()
'Prompts the user to view hidden folders

    Dim objApp As FrontPage.Application
    Dim objWeb As WebEx
    Dim strAns As String

    Set objApp = FrontPage.Application
    Set objWeb = objApp.ActiveWeb
    'prompt user
    strAns = MsgBox("Do you want to view hidden folders?", vbYesNo)
    'Set value of property to match user's response
    If strAns = vbYes Then
        objWeb.IsHiddenFoldersEnabled = True
    Else
        objWeb.IsHiddenFoldersEnabled = False
    End If

End Sub