Retrieve ONLY the requested part of a File Name

Category:
Files and Directories
Type:
Snippets
Difficulty:
Intermediate
Author:
Brian Gillham

Version Compatibility: Visual Basic 6

More information:
Function to return the Name, Extension , Name and Extension or Path from a fully qualified path.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: