FileDialogViewPage Property
Returns or sets a String that represents the relative URL of the page associated with the DocumentLibrary object. Read/write.
expression.FileDialogViewPage
expression Required. An expression that returns a DocumentLibrary object.
Example
The following example creates a new document library called NewLibrary and displays the relative URL of the File dialog page.
Sub NewLibrary()
'Add a new list to the current web
Dim objApp As FrontPage.Application
Dim objLists As Lists
Dim objLibrary As DocumentLibrary
Set objApp = FrontPage.Application
Set objLists = objApp.ActiveWeb.Lists
'Add new list
objLists.Add Name:="NewLibrary", _
ListType:=fpListTypeDocumentLibrary, _
Description:="List of Shared files"
Set objLibrary = objLists.Item("NewLibrary")
'Display message to user
MsgBox "A new list was added to the Lists collection." & _
"The page associated with the file dialog is " & _
objLibrary.FileDialogViewPage & "."
End Sub