Open

[method icon] Open(sFileName$)

Load a rich text document form a file

sFileName$ String

Applies to: Rich Edit


>

Open

Str      The name of the file to load into the control

This method is used to load the contents of the specified file into the control. The file should contain text in RTF format.For example:

.rtfControl1.Open(MyRTFFile$)

See also

Rich Edit methods, properties and events.