Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
  • Moderators
Posted

Which argument do you need?

 

What exactly do you want to do?

 

somthing like this?

           Dim dlgOpen1 As New OpenFileDialog()
           dlgOpen1.Filter = "Text files (*.txt)|*.txt"
           dlgOpen1.CheckFileExists = True
           dlgOpen1.ShowDialog()
           Dim strPath As String = dlgOpen1.FileName

Visit...Bassic Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...