I just cant find what the arguments for a Open File dialog are... I have an open file dialog named opnFile and when i call the event, I get () and it requires that I put in an argument of some sort. Can someone please tell me what i need to put?
Dim dlgOpen1 As New OpenFileDialog()
dlgOpen1.Filter = "Text files (*.txt)|*.txt"
dlgOpen1.CheckFileExists = True
dlgOpen1.ShowDialog()
Dim strPath As String = dlgOpen1.FileName
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.