try loObj=createObject("photoshop.application") if vartype (loObj)="O" messagebox("Photoshop is installed",0+32) endi catch to exception if exception.errorno=1733 &&The class definition specified in a CREATEOBJECT( ) function cannot be located. messagebox("Photoshop not installed",16) endi endtry2-if you confirm that photoshop is installed , then open your object browser (vfp menu/tools/object browser)