Friday, 24 February 2017

VB.NET : Create folder if does not exist

'at top import below namespace

Imports System.IO

If Not Directory.Exists("D:\db") Then
        Directory.CreateDirectory("D:\db")
End If

No comments:

Post a Comment