Mike Yearwood
Toronto, Ontario, Canada
Hey guys.
Don't rely on the project manager. Here's what I do (and I got this from Drew Speedie). You have your main.prg which is the main program in the project. At the bottom of this .prg add a little procedure called PROCEDURE DUMMY or whatever. In this procedure, add the names of your screens/reports and whatever other files you need like this...
DO FORM MYFORM
REPORT FORM MYREPORT
SET CLASSLIB TO MYVCX
Never place a call to a procedure called DUMMY (Drew and I call this procedure PMFAKEOUT since we use it to fake out the project manager). If your project manager get corrupted, create a new project manager file, add your main.prg to it and click rebuild project. VFP will add all screens/reports to your project automatically.
If you have multiple developers, you can give each of them a .PRG where they list screens/reports and you add their .PRG's to the DUMMY procedure at the bottom of your main.prg.
I've been doing this for years, and its saved my butt at least twice. It seems like a bother when you first start, but its a really good habit to have.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement