C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » VB.NET Syntax »

How to check whether a File exists or not


Posted Date: 29 May 2008    Resource Type: Code Snippets    Category: VB.NET Syntax
Author: RekhaMember Level: Gold    
Rating: 1 out of 5Points: 10



The following code sample shows how to check whether a File exists or not
 
Imports System.IO
Public Function FileExists(ByVal FileFullPath As String) _
As Boolean

Dim f As New IO.FileInfo(FileFullPath)
Return f.Exists

End Function



Responses

Author: Kapil Dhawan    17 Jun 2008Member Level: Gold   Points : 2
Hello
Nice piece of code
Thanks for sharing your knowledge with us.
I hope to see more good code from your side
This code is going to help lots of guys.
Ton Thanks to you
Regards,
Kapil



Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
To find does file exists or not  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: SAT Online TV
Previous Resource: How to search a particular file using its name
Return to Discussion Resource Index
Post New Resource
Category: VB.NET Syntax


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use