Pamela,
>Well, BuildMetaData is a method of my project hook, so I can call it any time I want. (It's actually in my devlopment menu.) I also call it from those two events.
Great idea! Hadn't thought of calling it directly... obviously a short-sighted Friday here on the left coast. I'll have to try adding it to a project hook (we haven't done anything with them as of yet, but this looks like a great place to start)
>My setup.prg code runs in production where the pjx isn't even available. As Chris said, you need to choose which is more important and running two instances of VFP when debugging is by far more important to me. Taking code that is not needed in production out seems a small price to pay.
We'll probably do both. It's only one extra line of code to run in production -- the call to BuildMetaData() is wrapped in a test for "debug mode" -- and now we won't be forced to remember to run the project hook before main.prg
>
>Just one of hundreds of ways to organize things. <g>
>
And now it's hundreds + 1
---J