FileExists Method


FileExists Method

Location

My.Computer.FileSystem.FileExists

Syntax

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


path (required; String)

The full path to a file

Description

The FileExists method indicates whether the supplied file 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.FileExists Method

  • Microsoft.VisualBasic.FileIO.FileSystem .FileExists Method

  • System.IO.File.Exists Method

See Also

DirectoryExists Method, FileSystem Object




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