Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Project Hook
Message
From
21/09/1999 20:13:39
 
 
To
21/09/1999 16:54:38
Jill Derickson
Software Specialties
Saipan, CNMI
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Miscellaneous
Thread ID:
00267337
Message ID:
00267393
Views:
20
>A Knowledge Base FAQ by Scott Grabo, dated 29/07/99, titled "Why won't my report print to the SET PRINTER TO NAME printer?" addresses clearing Expr, TAG and TAG2 from reports automaticlly when a project is built (maintaing the settings you want).
>
>I've been playing around w/his idea. He states "Create a base project class by subclassing from the VFP Project class". I couldn't figure out how to do exactly that, but came across project hooks.
>
>I created a project hook, added code to the BeforeBuild method that 'scrubs' all reports, and set the Project class for the existing project to be the project hook. it works!
>
>BUT, using that code, I often get the error when building:
>
> File c:\program files\devstudio\vfp\s s\ssclasslib.vcx is in use and cannot be recompiled.
>

YOu only get this because you have put your Project hook class in a library that is included in the project. Don't. Or, if oyu have to, just uncheck "Recompile All Files" in the compile dialog. It's not really necessary except maybe periodically, especially if you have SET DEVELOPMENT ON.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform