>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.