prologic at prologitech.com wrote: >Or use a try except ? > Don't forget to include the SysUtils unit, if you're gonna use exceptions. (Converts all runtime errors to exceptions).