Open File dialog

EZCheeZe

Newcomer
Joined
Dec 12, 2002
Messages
7
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?
 
Which argument do you need?

What exactly do you want to do?

somthing like this?
Visual Basic:
            Dim dlgOpen1 As New OpenFileDialog()
            dlgOpen1.Filter = "Text files (*.txt)|*.txt"
            dlgOpen1.CheckFileExists = True
            dlgOpen1.ShowDialog()
            Dim strPath As String = dlgOpen1.FileName
 
Back
Top