|
Check if a file or directory exists in VB.NET/ASP.NET |
|
|
|
|
Monday, 19 January 2009 |
|
To check to see if a file exists use :-
IO.File.Exists("d:\someFileName.txt") To check to see if a directory exists use :-
IO.Directory.Exists("c:\myFolder")
Thanks to http://www.vbforfree.com/?p=180 for this tip
|
|
Last Updated ( Monday, 19 January 2009 )
|