OpenFileDialog的使用实例
'Dim excelFolderPath As String = ""
'Dim openFileDialog1 As New OpenFileDialog()
'openFileDialog1.Filter = "Excel Files|*.xlsx;*.xls"
'openFileDialog1.Title = "Select Excel File"
'openFileDialog1.Multiselect = False
'If openFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
' excelFolderPath = Path.GetDirectoryName(openFileDialog1.FileName)
'Else
' Return
'End If