How to: Determine if a Directory Exists in Visual Basic
You can use the DirectoryExists method to determine whether or not a specified directory exists.
The call to DirectoryExists requires FileIOPermission.
This method throws no exceptions.
Note |
|---|
|
Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Visual Studio Settings. |
Note