Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bring multiple entities in a project at once.
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00491948
Message ID:
00491953
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform