i am writing a program which, using text in an editbox, opens a given file. eg. on form create if the edit box says photo1.jpg, photo1.jpg opens, if photo1.jpg is not there, the program gives an error. what do i need to say so that if the file does not exist a label appears (the latter bit is no problem).
if you cannot find photo1.jpg' then
begin //no problem from here!