hi all need this important code for buttom :
chick if file exist and if it is exist then show messge box and if not show message box "anothe one".
hope i get answre .
wating ..... you .
Printable View
hi all need this important code for buttom :
chick if file exist and if it is exist then show messge box and if not show message box "anothe one".
hope i get answre .
wating ..... you .
system.io.file class - http://msdn.microsoft.com/en-us/libr...e_methods.aspx
the Exists method of the File class - http://msdn.microsoft.com/en-us/libr...le.exists.aspx
-tg
To check if a file exists you can use System.IO.File.Exists() method.
To show a messagebox, you can use the MessageBox.Show() method.
thanks for the great help!
100%
What is a Tyro?
Please provide meaningful thread titles that indicate the topic of the thread.
whats a primer? A beginner? (I can see this going on for a while...)