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

Samsung Android Keyboard

  If you have a Samsung phone or pad and the keyboard is set to Google give the Samsung one a try. Just go into the keyboard settings and ...