Wednesday, June 3, 2009

How to Open Particular folder using VB.Net

Add namespace
Imports System.IO

Dim Folder_Path As String = "C:\Folder Name\
If IO.Directory.Exists(Folder_Path) = False Then
MessageBox.Show("Location does not Exist!")
Exit Sub
End If
Process.Start("explorer.exe", Folder_Path)

No comments:

Post a Comment