How to create folder in VB.Net

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
The System.IO.Directory.CreateDirectory function is shared so there's no need to instantiate (dim) a variable first. Simply call the function as shown here:
VB.NET:
System.IO.Directory.CreateDirectory("C:\somepath")
 
Top Bottom