Mike Yearwood
Toronto, Ontario, Canada
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only