CodeItBetter Programming Another VB Programming Blog

How to Return the filename of a given full path to a file

Posted on January 4, 2009
1
2
3
4
'File/Folder Handling - How to Return the filename of a given full path to a file
Private Function returnNameOfFile(ByVal strFile As String) As String
    returnNameOfFile = Mid$(strFile, InStrRev(strFile, "\") + 1)
End Function
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.