Live with Dot Net Just another Programming weblog

How to Check whether given file exists or not

Posted on September 9, 2011

Here is the code to Check whether the given file exists or not in VB.Net:

1
2
3
Public Function IsFileExists(ByVal strFileName As String) As Boolean
    IsFileExists = System.IO.File.Exists(strFileName)
End Function

About admin

No description. Please complete your profile.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.