Get All Files From A Path Root Without The FSO

Category:
Files and Directories
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
An alternative to the standard File System Object via VB6, this .NET sub procedure is an easy method for getting all file paths from a given starting folder.

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

Declarations:

Code: