How to create folder in VB.Net

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")
 
Back
Top