theberzerker69 Posted December 16, 2003 Posted December 16, 2003 How do you check to see if a file exists or not? Quote
Leaders dynamic_sysop Posted December 16, 2003 Leaders Posted December 16, 2003 If IO.File.Exists("your file's path here including extension ") Then MessageBox.Show("It Exists!") End If Quote
j_vijaydaniel Posted January 14, 2009 Posted January 14, 2009 use this code.. add namespace.. using System.IO; if (File.Exists(filename)) { MessageBox.Show("True"); } else { MessageBox.Show("False"); } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.