In VB 2005 using
My.Computer.FileSystem.CreateDirectory ("C:\MYDIR")
In VB.NET
Imports System
Imports System.IO
Dim di As DirectoryInfo = New DirectoryInfo("c:\MyDir")
' Determine whether the directory exists.
If di.Exists Then
' Indicate that it already exists.
msgbox("That path exists already.")
Else
' Try to create the directory.
di.Create()
End If
zo****@yahoo.com wrote:
How can i create a folder using vb.net code?
Thanks