📅  最后修改于: 2022-03-11 14:51:57.632000             🧑  作者: Mango
'How to open the file path in Visual Basic
OpenFileDialog1.Filter = "TEXT FILE | *.txt |PDF FILE |.pdf |ALL FILES |*.*"
If OpenFileDialog1.ShowDialog = DialogResult.OK Then
For x = 0 To OpenFileDialog1.FileNames.Count - 1
MsgBox(OpenFileDialog1.FileNames(x))
Next
End If