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

Passwords Made Easy

Today i thought i would write about password security. As we are all aware passwords are important but we continue to use very poor password...