Login | Register
Find Code
 

Close

 
  • Submit Code
  • ASP, HTML and XML
  • Database
  • Dates and Math
  • Files and Directories
  • Forms and Controls
  • Lists, Collections and Arrays
  • Miscellaneous
  • Multimedia / Games
  • Network / Internet
  • Office/VBA
  • Registry
  • Screen / Graphics
  • String Manipulation
  • System API
  • VB.NET / ASP.NET
  • Windows 2000/XP
 

Create and Delete Directories and Subdirectories in VB.NET

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic.NET, ASP.NET

More information:
Sample Usage:

CreateDirectory("C:\MyDir")
CreateSubDirectory("C:\MyDir", "Test")
DeleteDirectory("C:\MyDir")

Originally developed for beta version, verified to work in .NET Beta 1, 07/20/01.

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

Declarations:

Code:
Sponsored Links: