>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao