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:
00491953
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.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform