Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add/remove files to project programmatically
Message
 
À
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:
01573041
Vues:
59
>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.

?TYPE([_VFP.ActiveProject.Files.Item("main.prg")])="O"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform