You would use the same OpenFileDialog, it exposes a property FileName which
will give you the full path/name of the file selected. Or use FileNames if
you have multiselect set to true...
Regards,
Michael Bosch
>I just want the name of the file selected - I have no use for opening it up
>in a stream.
[quoted text clipped - 4 lines]
> TIA,
> Paul
Herfried K. Wagner [MVP] - 12 May 2006 23:10 GMT
"Michael Bosch" <dotnetmichael@gmail.com> schrieb:
> You would use the same OpenFileDialog, it exposes a property FileName
> which will give you the full path/name of the file selected. Or use
> FileNames if you have multiselect set to true...
ACK. If you want to strip off the path and get the file name part only,
check out the shared methods of 'System.IO.Path'.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
PJ6 - 13 May 2006 17:14 GMT
I think I want to add a new word to the English language. One that means,
"when one looks for a property or method in an intellisense list, but for
some strange reason cannot find it even though it's plainly there".
> You would use the same OpenFileDialog, it exposes a property FileName
> which will give you the full path/name of the file selected. Or use
[quoted text clipped - 12 lines]
>> TIA,
>> Paul