Brings up a common File Open dialog and returns the file name selected by the user. If the user canceled, returns an empty file name.
[Visual Basic .NET] |
---|
Public Function FileOpenDialog( _ ByVal DefaultExt As String, _ ByVal Filter As String, _ ByVal InitialDir As String _ ) As String |
[C#] |
---|
public string FileOpenDialog( string DefaultExt, string Filter, string InitialDir ); |
[Managed C++] |
---|
public: String __gc ^ FileOpenDialog( String __gc ^ DefaultExt, String __gc ^ Filter, String __gc ^ InitialDir ); |
[Unmanaged C++] |
---|
public: HRESULT FileOpenDialog( BSTR DefaultExt, BSTR Filter, BSTR InitialDir, BSTR * pFileName ); |
[Java] |
---|
public String fileOpenDialog( String DefaultExt, String Filter, String InitialDir ); |
- DefaultExt
- Filter
- InitialDir