Rank: Administration Groups: Member
Joined: 3/24/2008 Posts: 2,871 Points: 5,789 Location: South Florida USA
|
http://www.freevbcode.com/ShowCode.Asp?ID=4835Code: Imports System.IO
Public Function FileExists(ByVal FileFullPath As String) As Boolean
Dim f As New FileInfo(FileFullPath) Return f.Exists
End Function
Public Function FolderExists(ByVal FolderPath As String) As Boolean
Dim f As New DirectoryInfo(FolderPath) Return f.Exists
End Function
|