DirectoryExists Method


DirectoryExists Method

Location

My.Computer.FileSystem.DirectoryExists

Syntax

     Dim result As Boolean = _        My.Computer.FileSystem.DirectoryExists(path) 


path (required; String)

The full path to a directory

Description

The DirectoryExists method indicates whether the supplied directory path exists (true) or not (False).

Usage at a Glance

This method returns False if the user lacks sufficient file system access privileges.

Related Framework Entries

  • Microsoft.VisualBasic.MyServices.FileSystemProxy.DirectoryExists Method

  • Microsoft.VisualBasic.FileIO.FileSystem.DirectoryExists Method

  • System.IO.Directory.Exists Method

See Also

FileSystem Object, FileExists Method




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net