hi!
i have an openfiledialog.
i want only the name+postfix of the file.
in asp.net i have this code:
sFileName = Right(Submit1.PostedFile.FileName.Trim, _Len(Submit1.PostedFile.FileName.Trim) - i)
(i can write openfiledialog.filename.trim instead of submit1.postfile.filename)
but in vb.net he doesn't recognaize the function "right".
any solution?
thanx
i have an openfiledialog.
i want only the name+postfix of the file.
in asp.net i have this code:
sFileName = Right(Submit1.PostedFile.FileName.Trim, _Len(Submit1.PostedFile.FileName.Trim) - i)
(i can write openfiledialog.filename.trim instead of submit1.postfile.filename)
but in vb.net he doesn't recognaize the function "right".
any solution?
thanx