Files & Directories

This category includes VB code about the manipulating of files and directories.

Checking the existence of a directory

T. Jones

15/10/1998
This function checks the existence of a path.
Download code now!
Checking the existence of a file

L. Dalla Vecchia

02/05/1998
This function checks the existence of a file by trying to open it.
Download code now!
Get drives information J. Nyhart 19/02/1995
This sub will detect information for all drives installed in your system.
Download code now!
Parse path, file or extension from a string G. MacLeod 01/11/1997
This set of three functions will allow you to extract the path, file name or extension from a string.
Download code now!
Shorten a long path G. MacLeod 01/11/1997
This function will shorten a directory path to a custom number of maximum characters. It is used in many ways, for example in most applications to show long path in the recent files list in the File menu.
Download code now!

Click Here!


Visual Basic Programming Zone is a website by Lorenzo Dalla Vecchia.
To contact the Webmaster, click here.
Hosted by InWind: www.inwind.it