Answers for ".net open file dialog"

VBA
4

c# open file dialog

OpenFileDialog dialog = new OpenFileDialog();
if (DialogResult.OK == dialog.ShowDialog()) 
{
    string path = dialog.FileName;
}
Posted by: Guest on July-16-2020
0

open file dialog in vb.net

'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
Posted by: Guest on September-04-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language