lcFileName = gcPath+"\"+lcFileName+SYS(2015)+".tif" oMyForm.OleOutline.image = lcFileName oMyForm.OleOutline.multiPage = .t. oMyForm.OleOutline.pageoption = 1 oMyForm.OleOutline.scanto = 2 oMyForm.OleOutline.scroll = .F. oMyForm.OleOutline.showsetupbeforeScan = .t. oMyForm.OleOutline.stopscanbox = .f. oMyForm.OleOutline.openscanner oMyForm.OleOutline.startScanWhen I set the lcFileName variable to a file with 11 character of length, I do not have any problem. Anything bigger than that I get the following error :