I'm trying to use the ResEditor sample in the .NET Framework.
There's code for an "Open File " Dialog box as listed below:
No matter what File I select, or from what directory, openFileDialog1.FileName is ALWAYS BLANK.
I can't retrieve the selected filename.
Does anyone know why?!
There's code for an "Open File " Dialog box as listed below:
Code:
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
currentFileName = openFileDialog1.FileName;
FileInfo efInfo = new FileInfo(currentFileName);
...
No matter what File I select, or from what directory, openFileDialog1.FileName is ALWAYS BLANK.
I can't retrieve the selected filename.
Does anyone know why?!