Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Corrupt Project?
Message
De
11/08/1999 08:48:12
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
08/08/1999 20:47:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00250877
Message ID:
00252459
Vues:
18
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
Fil
Voir

Click here to load this message in the networking platform