Description

Represents a common dialog box that displays the control that allows the user to open a file.

Remarks

This class allows you to check whether a file exists and to open it. The ShowReadOnly property determines whether a read-only check box appears in the dialog box. The ReadOnlyChecked property indicates whether the read-only check box is checked.

OpenFileDialog is a modal dialog; therefore when shown, it blocks the rest of the script until the user has chosen a file. When a dialog is displayed modally, no input (keyboard or mouse click) can occur except to objects on the dialog.

Example

See OpenFileDialog example.


The CHM file was converted to HTML by chm2web software.