openDialog

openDialog();

The openDialog method of the MultiMedia class displays a modified version of the common File Open dialog that allows a user to select the file to be loaded into the control.

The dialog automatically lists the types of files that are supported by the devices installed on that workstation. It can also sample play the selected file.

If the useDotNetVersion property is set to true, MP4 file types are included in the list.

Before the dialog is called, any existing device or file associated with the control is closed. On return from the method call, the mediaName property contains the name of the selected file or an empty string if the dialog was cancelled.