Share via


Visual Basic: CommonDialog Control

FileTitle Property

See Also   Example   Applies To

Returns the name (without the path) of the file to open or save.

Syntax

object.FileTitle

The object placeholder is an object expression that evaluates to an object in the Applies To list.

Remarks

When the user selects a file and clicks OK in the File dialog box, the FileTitle property takes a value that can then be used to open or save the selected file.

Note   If the cdlOFNNoValidate flag is set, the FileTitle property won't return a value.

Data Type

String