MODIFY PROJECT ? NOSHOW NOWAIT m.x=0 FOR EACH oFile IN _VFP.ACTIVEPROJECT.FILES IF INLIST(oFile.Type, "P", "K") && prg & forms m.x=m.x+1 ENDIF ENDFOR messagebox("prgs+ forms count="+trans(m.x)) _VFP.ActiveProject.Files(1).Modify( ) &&modify the first file in collectionthis works on my vfp9SP2 [Visual FoxPro 09.00.0000.7423 pour Windows]