Private Sub btnCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreate.Click Try Directory.CreateDirectory(Path(".") & "\" & txtProject.Text) 'Creating a directory by specifying a path in the TextBox, of the form C:\BDL\ 'Instead of using a TextBox you can directly type the location of the directory like this 'Directory.CreateDirectory("T:\BDL\") Catch ex As Exception End Try MsgBox("Directory " & txtProject.Text & " Created") End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)