Share via


Windows Media Player 11 SDK THEME.openDialog 

Windows Media Player SDK banner art

Previous Next

THEME.openDialog

The openDialog method opens a file dialog box.

Syntax

  

Parameters

  dialogType

A String that specifies the type of dialog box. Must be set to "FILE_OPEN".

  parameters

A String that can be used for additional information. Must be set to "FILES_ALLMEDIA".

Return Values

This method returns a String containing the URL of the selected file or "" (empty string) if the user clicks cancel.

Remarks

This method can be used for files on the local hard drives or on network drives.

Example Code

  

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next