Oct 31, 2005 #1 magmo Programmer May 26, 2004 291 SE Hi I would like to create a function that check inside a folder if a file exsits, and if so return True. Could anyone help me out here in vb.net Regards
Hi I would like to create a function that check inside a folder if a file exsits, and if so return True. Could anyone help me out here in vb.net Regards
Nov 1, 2005 #2 Mike555 Technical User Feb 21, 2003 1,200 US http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=209 Upvote 0 Downvote
Nov 1, 2005 #3 TipGiver Programmer Sep 1, 2005 1,863 You'd better goto vb.net forum. Anyway check the namespace System.IO like: Imports System.IO ' out of the class this line If File.Exists("path_to_the_file") = True Then ' code for TRUE Else ' code for FALSE End If Upvote 0 Downvote
You'd better goto vb.net forum. Anyway check the namespace System.IO like: Imports System.IO ' out of the class this line If File.Exists("path_to_the_file") = True Then ' code for TRUE Else ' code for FALSE End If