L
Laserson
Hi all! For example i have a open file dialog called "Dialog_Open" and i
use following code:
If Dialog_Open.ShowDialog=DialogResult.Ok Then
Label_FileName.Text=Dialog_Open.FileName
End If
but FileName returns the full path of file, but i need only opened file
name and extension, for example not "C:\Sample\ReadMe.txt", but
"ReadMe.txt". How to do that?
use following code:
If Dialog_Open.ShowDialog=DialogResult.Ok Then
Label_FileName.Text=Dialog_Open.FileName
End If
but FileName returns the full path of file, but i need only opened file
name and extension, for example not "C:\Sample\ReadMe.txt", but
"ReadMe.txt". How to do that?