get files under a directory

Get All Files under a Directory in VB.NET

Today in VB.NET, I will teach you how to create a program that gets all files under its corresponding directory not all the folders that are inside on it. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.