Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project Hook
Message
De
21/09/1999 20:13:39
 
 
À
21/09/1999 16:54:38
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00267337
Message ID:
00267393
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform