I m using this command tmp=locfile('d:\' + alltrim(prd) + '.bmp'), I use this command to see if a file exsist on a HDD or not , if the file exsist I recive back the full path of the file , the problem , when file doesn't exsist a dialog is open to find the file manualy , how can I avoid this...