Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add/remove files to project programmatically
Message
De
08/05/2013 11:12:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01573026
Message ID:
01573038
Vues:
73
Is there a similar usage to determine whether a file is in a project? (I can use Try/Catch, of course, but am wondering if that is even necessary)

>You can add/remove from the active project using the following:
>
>_VFP.ActiveProject.Files.Add('Main.prg')
>_VFP.ActiveProject.Files('Main.prg').Remove( )
>
>-Dan
>
>>Is there a native FoxPro function or method to add files to (or remove files from) a project?
>>
>>Thanks in advance.
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform