IVCWizCtlUI.GetOpenFileNameViaDlg(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of a file to open using a dialog box.
public:
System::String ^ GetOpenFileNameViaDlg(System::String ^ bstrDlgTitle, System::String ^ bstrInitialDir, System::String ^ bstrFilter, System::String ^ bstrFileName);
public:
Platform::String ^ GetOpenFileNameViaDlg(Platform::String ^ bstrDlgTitle, Platform::String ^ bstrInitialDir, Platform::String ^ bstrFilter, Platform::String ^ bstrFileName);
std::wstring GetOpenFileNameViaDlg(std::wstring const & bstrDlgTitle, std::wstring const & bstrInitialDir, std::wstring const & bstrFilter, std::wstring const & bstrFileName);
[System.Runtime.InteropServices.DispId(1610743848)]
public string GetOpenFileNameViaDlg (string bstrDlgTitle, string bstrInitialDir, string bstrFilter, string bstrFileName);
[<System.Runtime.InteropServices.DispId(1610743848)>]
abstract member GetOpenFileNameViaDlg : string * string * string * string -> string
Public Function GetOpenFileNameViaDlg (bstrDlgTitle As String, bstrInitialDir As String, bstrFilter As String, bstrFileName As String) As String
Parameters
- bstrDlgTitle
- String
Required. A string containing the dialog box title.
- bstrInitialDir
- String
Required. A string containing the initial directory for the Open File dialog box.
- bstrFilter
- String
Required. A string containing the file filter criteria displayed in the Files of type edit box (for example, Visual C++ Header files (*.h)) in the Open File dialog box.
- bstrFileName
- String
Required. A string containing the name of the file display in the File Name edit box in the Open File dialog box.
Returns
- Attributes