Ok in VB6 you could find the file name by using this.
But in VB.NET on the OpenFileDialog I do not see the .FileTitle anymore. Do you have to manipulate the string or am I missing something?PHP Code:
stFileName = dlgBox.FileTitle
The .Title gives you the dialog box title not the title of the file itself. old VB6 was .FileTitle but .NET does not seem to have an equivilant value for this. I guess you could manipulate the string returned by .File cuase it returns the path and file name but it would be great if you could just get the filename.