Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bring multiple entities in a project at once.
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00491948
Message ID:
00491965
Vues:
10
>>Hi everybody,
>>
>>Is there a utility available for adding multiple entities in a project. Suppose, I want to include 50 prgs in a project, which are referenced only indirectly. It would be a tedious process to add them one by one...
>>
>>Could you please help me here?
>>
>>Thanks in advance.
>
>Nadya,
>I don't know of anything pre-written but you could do this in two ways.
>
>1. Add 50 lines of code to your main program with the following lines:
>
>external procedure myprg1
>:
>external procedure myprg50
>
>Then rebuild your project.
>
>2. Create a project hook and use the Files collection of the Projetc object to add them.
>With _VFP.ActiveProject.Files
>   .Add('MyPrg1')
>   :
>   .Add('MyPrg50')
>Endwith
>HTH.

Thanks, Larry & James. I'm writting a simple program using ProjectHook right now.

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform