O, se preferisci le classi del .NET Framework "normali" (per portabilità con C#, perché detesti l'odioso namespace My come meOriginariamente inviato da MickyLeg
In VB .NET basta:
codice:If My.Computer.FileSystem.FileExists(PERCORSO) = True Then ..... End If), c'è System.IO.File.Exists.