How to check if file existe?
Visual Basic
4
Posts
3
Posters
0
Views
1
Watching
-
Hi, Just use "Dir" command in VB to check it's existance. Say, if Dir("filename") then '' Task to do if file exists end if It will retrun True if exists or False if file is not there on the mentioned path. You can use other parameters like vbDirectory, vbSystemFile etc. to check file or folder property. Best Regards, Vilas Shewale ;)
-
Hi, Just use "Dir" command in VB to check it's existance. Say, if Dir("filename") then '' Task to do if file exists end if It will retrun True if exists or False if file is not there on the mentioned path. You can use other parameters like vbDirectory, vbSystemFile etc. to check file or folder property. Best Regards, Vilas Shewale ;)