ClassSystem.IO.File SyntaxDim result As Boolean = File.Exists(path)
DescriptionThe Exists method indicates whether a file exists (true) or not (False). Usage at a Glance
Version DifferencesVisual Basic 2005 includes a My.Computer.FileSystem.FileExists method that provides similar functionality. See AlsoDirectory.Exists Method |