Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Projec disappears
Message
From
22/08/2006 12:37:46
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01147593
Message ID:
01147623
Views:
24
Hi Chris

>My project contains about 10 reports, one database, some independent tables, 10 forms, one class library, a menu, and some graphic files. Suddenly the project disappeared from my development screen. Now I still can't access the source files and work on them, and still build my exe file, but I access the project visually. The immediate problem is that I don't know how to programmatically add a new report (frx) file to the project. My client is waiting for it, so I need to figure this out asap. Also, how can I restore the project? I did try rebuilding the project by creating a new one and adding all the reports, forms, etc. But very soon the same thing happened--the project manager simply disappeared.
>

The best suggestion I have for you is to alter your work style a bit. At the bottom of the main .prg for your project, do this:

Then when/if you lose your .PJX you can create a new one, add the main.prg back and rebuild and everything will come back. The project manager can get corrupted, but a simple .PRG file is easier to repair.

PROCEDURE PMFakeout
EXTERNAL PROCEDURE someprgfile
EXTERNAL REPORT somereportfile
ENDPROC
Previous
Reply
Map
View

Click here to load this message in the networking platform