' 'Check whether a File or Directory exists. ' MsgBox(IO.File.Exists("c:\theFile.txt")) MsgBox(My.Computer.FileSystem.DirectoryExists("c:\"))