Feb 18, 2003 #1 F falco Newcomer Joined Feb 13, 2003 Messages 22 Location Ft. Lauderdale FL. USA How do I navigate to a file using the OpenFileDialog component?
Feb 18, 2003 #2 C Cywizz Centurion Joined Jan 31, 2003 Messages 136 Location JHB, South Africa I assume you mean how do you get the file name that was selected by using the openfiledialog component? C#: //to use/show the dialog box OpenFileDialog.ShowDialog(); //to get the filename... string fileName = OpenFileDialog.FileName; Cheers
I assume you mean how do you get the file name that was selected by using the openfiledialog component? C#: //to use/show the dialog box OpenFileDialog.ShowDialog(); //to get the filename... string fileName = OpenFileDialog.FileName; Cheers
Feb 18, 2003 #3 F falco Newcomer Joined Feb 13, 2003 Messages 22 Location Ft. Lauderdale FL. USA Yes, that's it. Thank you for taking your time with a beginner!