Hello, I was wondering, how do I get the actual file name of a file, I tried using
Dim ofd As New OpenFileDialog
...
If ofd.ShowDialog = Windows.Forms.DialogResult.OK then
'problem is here!
label1.text = ofd.filename
'problem is here!
End if
...
I would like it to just show the actual file that ofd opened, not the filepath, any ideas on this?
Thanks,
SFlpm