Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2.6 Utility to map a project???
Message
 
 
To
04/10/2002 14:13:43
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00707862
Message ID:
00707898
Views:
21
>I'm maintaining a large program written in 2.6. There have been many 'hands in the pot' so to speak and I was wondering if there was a utility which would review the saved project and tell me which reports/programs are no longer being called. Or maybe something that listed all dbf's called by the program. I would like to clean it up but it would take forever if I tried to do this manually.
>
>Thanks for you suggestions,
>Sunshine

I would do this:

1. Move the project (PJX and PJT) files somewhere else.
2. Create a new project with the same name.
3. Add the main program.
4. Build. The build process will locate everything which is used, with a little help from you. You will be prompted for the locations of project components which are not in the project's home directory, but only once for each directory.

There is at least one "gotcha". The settings of screen programs (generating a PRG instead of an SPR, for example, so it can be called as a function and return a value) which were set in the old project will not be set in the new one. Build errors may lead you to those.

It's worth a try. The worst that can happen is it doesn't work and you copy the saved PJX/PJT back.

This is just one way of approaching your objective. I'm sure there are others. Good luck!

Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform