Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moved Project to VFP7: Class Location Problems
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00551805
Message ID:
00551884
Views:
30
>That's not all that difficult. Most of the time, all the files you'll need get pulled in automatically once you've specified the "main" program of the new project.
>
>That I didnt know!
>
>Does that include forms, programs, classes, pretty much everything in the project directory structure?

Usually. (empahasis on usually). As long as you have a direct reference in your code, all other pieces of code should be brought in automatically.

So, if you have a "DO someprog" then, SOMEPROG.PRG should automatically be brought in. If you have a "SET CLASSLIB TO yourclasslib" then YOURCLASSLIB.VCX should be brought in. I do believe any internal references in forms/classes to other class libraries are brought in too.

The only time I've noticed a reference that not brought in automatically is if it's part of a macro substitution (&):

cProgram = "myspecialprogram"
DO &cProgram

then MYSPECIALPROGRAM.PRG would not be automatially brought in.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform