Tuesday, 28 August 2012

Check if file path exits VB.NET






The following checks to see if the directory \ folder exists

If Directory.Exists(mypath) = False Then
---- do something
end if

This one checks if the file exists


If File.Exists(mypath) = False Then
---- do something
end if


Simple but effective

No comments:

Post a Comment

Chrome 138 the last supported

Chrome 138 the last supported  Hey Everyone, Chrome 138 is the last version of Chrome that will support Android 8.0 (Oreo) and Android 9.0 (...