Visual Basic: RichTextBox Control

Visual Studio 6.0

FileName Property (RichTextBox Control)

See Also    Example    Applies To

Returns or sets the filename of the file loaded into the RichTextBox control.

Syntax

object.FileName [= path]

The FileName property syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
path String. The path of a valid file.

Settings

You can only specify the names of text files or valid .rtf files for this property.

Show: