>I am reading through the Sep98 issue of Foxtalk and the Oct99 issue of Fox Advisor about ProjectHooks. I want to use one to keep the printer-specific info out of my reports (in the BeforeBuild event).
>
>But I'm too thick to figure out how to add a project hook to my project (now 98% done). Can anyone give me the basics of adding a ProjectHook?
First, create the project hook class. (New-> class, projuect hook).
Add code to whatever event you want (in your case, BeforeBuild).
Then, in the project manager, Right click and go to project Info. At the bottom of the info dialog, oyu can check Project Hook, and select your class from the class dialog.
The hook won't attach itself until you close and reopen the project.
Erik Moore
Clientelligence