Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activeproject.files.count unknown
Message
De
27/01/2017 09:39:07
 
 
À
27/01/2017 09:07:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01647066
Message ID:
01647067
Vues:
49
Hi
*the project must be opened and active:
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 collection
this works on my vfp9SP2 [Visual FoxPro 09.00.0000.7423 pour Windows]

for more on this subject you can read in my blog:
http://yousfi.over-blog.com/2015/12/working-with-vfp-project-as-object.html
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform