IVCWizCtlUI.GetOpenFileNameViaDlg(String, String, String, String) IVCWizCtlUI.GetOpenFileNameViaDlg(String, String, String, String) IVCWizCtlUI.GetOpenFileNameViaDlg(String, String, String, String) IVCWizCtlUI.GetOpenFileNameViaDlg(String, String, String, String) Method

Definition

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);
[System.Runtime.InteropServices.DispId(1610743848)]
public string GetOpenFileNameViaDlg (string bstrDlgTitle, string bstrInitialDir, string bstrFilter, string bstrFileName);
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 String String String

Required. A string containing the dialog box title.

bstrInitialDir
String String String String

Required. A string containing the initial directory for the Open File dialog box.

bstrFilter
String String String 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 String String String

Required. A string containing the name of the file display in the File Name edit box in the Open File dialog box.

Returns

Applies to