Question : open file dialog in vb.net
Answered by : jessica-davies
'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
Source : | Last Update : Fri, 11 Sep 20